More bodhi2 urls redirects.
This commit is contained in:
parent
462a895694
commit
4c8dbdd818
1 changed files with 18 additions and 1 deletions
|
@ -64,7 +64,24 @@
|
||||||
name: 01-bodhi2-cutover-comments-list
|
name: 01-bodhi2-cutover-comments-list
|
||||||
website: admin.fedoraproject.org
|
website: admin.fedoraproject.org
|
||||||
regex: /updates/comments$
|
regex: /updates/comments$
|
||||||
target: https://bodhi.stg.fedoraproject.org/comments
|
target: https://bodhi.stg.fedoraproject.org/comments/
|
||||||
|
when: env == 'staging'
|
||||||
|
|
||||||
|
# This one is sub-optimal, but we have no way to map /mine to /$username
|
||||||
|
- role: httpd/redirectmatch
|
||||||
|
name: 02-bodhi2-mine-fallback
|
||||||
|
website: admin.fedoraproject.org
|
||||||
|
regex: /updates/mine$
|
||||||
|
target: https://bodhi.stg.fedoraproject.org/
|
||||||
|
when: env == 'staging'
|
||||||
|
|
||||||
|
# This is similar to /mine. Ideally, we would redirect to
|
||||||
|
# /overrides/?user=$USERNAME, but we can't get that username afaik.
|
||||||
|
- role: httpd/redirectmatch
|
||||||
|
name: 03-bodhi2-cutover-overrides-list
|
||||||
|
website: admin.fedoraproject.org
|
||||||
|
regex: /updates/override/list$
|
||||||
|
target: https://bodhi.stg.fedoraproject.org/overrides/
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
|
|
||||||
- role: httpd/redirectmatch
|
- role: httpd/redirectmatch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue