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 website: pki.fedoraproject.org
target: http://dogtagpki.org/ target: http://dogtagpki.org/
# all of this goes to one place the graveyard. # # all of this goes to one place the graveyard.
- role: httpd/redirectmatch # - role: httpd/redirectmatch
shortname: keys # shortname: keys
website: keys.fedoraproject.org # website: keys.fedoraproject.org
regex: /(.*)$ # regex: /(.*)$
target: https://fedoraproject.org/wiki/Infrastructure/graveyard # target: https://fedoraproject.org/wiki/Infrastructure/graveyard
tags: keys # tags: keys
- role: httpd/redirectmatch - role: httpd/redirectmatch
shortname: boot shortname: boot

View file

@ -13,6 +13,15 @@
roles: 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 - role: httpd/domainrewrite
destname: admin destname: admin
website: admin.fedoraproject.org website: admin.fedoraproject.org