Fixes to the more granular bodhi2 redirects.

This commit is contained in:
Ralph Bean 2015-08-17 15:42:10 +00:00
parent ae0260633a
commit 315c00c081

View file

@ -56,24 +56,17 @@
- role: httpd/redirectmatch
name: 00-bodhi2-cutover-users
website: admin.fedoraproject.org
regex: /updates/user/(.*)\?.*$
regex: /updates/user/(.*)$
target: https://bodhi.stg.fedoraproject.org/users/$1
when: env == 'staging'
- role: httpd/redirectmatch
name: 01-bodhi2-cutover-updates
name: 90-bodhi2-cutover-updates
website: admin.fedoraproject.org
regex: /updates/(.*)\?.*$
regex: /updates/(.*)$
target: https://bodhi.stg.fedoraproject.org/updates/$1
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
name: get-fedora
website: get.fedoraproject.org