From 67c67ed17b464b4e05dfe94b6af8fc400bb9a76f Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Fri, 3 Apr 2020 18:44:31 +0000 Subject: [PATCH] so we need to rewrite versus redirect --- playbooks/include/proxies-redirects.yml | 14 +++++++------- playbooks/include/proxies-rewrites.yml | 9 +++++++++ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 16dea1ca73..0c84ebe609 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -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 diff --git a/playbooks/include/proxies-rewrites.yml b/playbooks/include/proxies-rewrites.yml index db1aff6659..774ec6fbbd 100644 --- a/playbooks/include/proxies-rewrites.yml +++ b/playbooks/include/proxies-rewrites.yml @@ -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