Fixes to the more granular bodhi2 redirects.
This commit is contained in:
parent
ae0260633a
commit
315c00c081
1 changed files with 3 additions and 10 deletions
|
@ -56,24 +56,17 @@
|
||||||
- role: httpd/redirectmatch
|
- role: httpd/redirectmatch
|
||||||
name: 00-bodhi2-cutover-users
|
name: 00-bodhi2-cutover-users
|
||||||
website: admin.fedoraproject.org
|
website: admin.fedoraproject.org
|
||||||
regex: /updates/user/(.*)\?.*$
|
regex: /updates/user/(.*)$
|
||||||
target: https://bodhi.stg.fedoraproject.org/users/$1
|
target: https://bodhi.stg.fedoraproject.org/users/$1
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
|
|
||||||
- role: httpd/redirectmatch
|
- role: httpd/redirectmatch
|
||||||
name: 01-bodhi2-cutover-updates
|
name: 90-bodhi2-cutover-updates
|
||||||
website: admin.fedoraproject.org
|
website: admin.fedoraproject.org
|
||||||
regex: /updates/(.*)\?.*$
|
regex: /updates/(.*)$
|
||||||
target: https://bodhi.stg.fedoraproject.org/updates/$1
|
target: https://bodhi.stg.fedoraproject.org/updates/$1
|
||||||
when: env == 'staging'
|
when: env == 'staging'
|
||||||
|
|
||||||
- role: httpd/redirect
|
|
||||||
name: 99-bodhi2-cutover-base
|
|
||||||
website: admin.fedoraproject.org
|
|
||||||
path: /updates
|
|
||||||
target: https://bodhi.stg.fedoraproject.org/
|
|
||||||
when: env == 'staging'
|
|
||||||
|
|
||||||
- role: httpd/redirect
|
- role: httpd/redirect
|
||||||
name: get-fedora
|
name: get-fedora
|
||||||
website: get.fedoraproject.org
|
website: get.fedoraproject.org
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue