mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-12 02:46:20 +08:00
add prerelease redirect for alt.fp.o
This commit is contained in:
@@ -108,6 +108,11 @@
|
||||
# tags:
|
||||
# - httpd/redirect
|
||||
#
|
||||
# - name: Remove prerelease-to-final-alt-1
|
||||
# file: path=/etc/httpd/conf.d/alt.fedoraproject.org/prerelease-to-final-alt-1-redirectmatch.conf state=absent
|
||||
# tags:
|
||||
# - httpd/redirect
|
||||
#
|
||||
# - name: Remove prerelease-to-final-gfo
|
||||
# file: path=/etc/httpd/conf.d/getfedora.org/prerelease-to-final-gfo-redirectmatch.conf state=absent
|
||||
# tags:
|
||||
|
||||
@@ -415,6 +415,13 @@
|
||||
target: https://arm.fedoraproject.org/$1
|
||||
when: env != 'staging'
|
||||
|
||||
- role: httpd/redirectmatch
|
||||
shortname: prerelease-to-final-alt-1
|
||||
website: alt.fedoraproject.org
|
||||
regex: /prerelease.*$
|
||||
target: https://alt.fedoraproject.org/$1
|
||||
when: env != 'staging'
|
||||
|
||||
# end of prod prerelease
|
||||
|
||||
- role: httpd/redirectmatch
|
||||
|
||||
Reference in New Issue
Block a user