mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-13 10:09:53 +08:00
fix redirect path for gf.o/cloud
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user