so we need to rewrite versus redirect

This commit is contained in:
Stephen Smoogen 2020-04-03 18:44:31 +00:00 committed by Pierre-Yves Chibon
parent f584b7cbfd
commit 67c67ed17b
2 changed files with 16 additions and 7 deletions

View file

@ -561,13 +561,13 @@
website: pki.fedoraproject.org
target: http://dogtagpki.org/
# all of this goes to one place the graveyard.
- role: httpd/redirectmatch
shortname: keys
website: keys.fedoraproject.org
regex: /(.*)$
target: https://fedoraproject.org/wiki/Infrastructure/graveyard
tags: keys
# # all of this goes to one place the graveyard.
# - role: httpd/redirectmatch
# shortname: keys
# website: keys.fedoraproject.org
# regex: /(.*)$
# target: https://fedoraproject.org/wiki/Infrastructure/graveyard
# tags: keys
- role: httpd/redirectmatch
shortname: boot

View file

@ -13,6 +13,15 @@
roles:
- role: httpd/domainrewrite
destname: keys-rewrite
website: keys.fedoraproject.org
path: ^/.*$
status: 301
target: https://fedoraproject.org/wiki/Infrastructure/graveyard
tags: keys
- role: httpd/domainrewrite
destname: admin
website: admin.fedoraproject.org