fix redirect path for gf.o/cloud

This commit is contained in:
Robert Mayr 2017-01-13 21:01:26 +00:00
parent cb38b12be8
commit 3ccebbd06e

View file

@ -302,14 +302,14 @@
name: cloud-to-atomic
website: getfedora.org
regex: /cloud/.*$
target: https://alt.stg.fedoraproject.org/cloud/
target: https://alt.stg.fedoraproject.org/cloud/$1
when: env == 'staging'
- role: httpd/redirectmatch
name: cloud-to-atomic-download
website: getfedora.org
regex: /(.*)/cloud/download.*$
target: https://alt.stg.fedoraproject.org/cloud/
target: https://alt.stg.fedoraproject.org/$1/cloud
when: env == 'staging'
# end staging
@ -367,14 +367,14 @@
name: cloud-to-atomic
website: getfedora.org
regex: /cloud/.*$
target: https://alt.fedoraproject.org/cloud/
target: https://alt.fedoraproject.org/cloud/$1
when: env != 'staging'
- role: httpd/redirectmatch
name: cloud-to-atomic-download
website: getfedora.org
regex: /(.*)/cloud/download.*$
target: https://alt.fedoraproject.org/cloud/
target: https://alt.fedoraproject.org/$1/cloud
when: env != 'staging'
- role: httpd/redirect