From ace9d37537e19fd1d54bd83a9a3f6fa1bd9fb822 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 2 Oct 2024 14:00:38 -0700 Subject: [PATCH] proxies: fix odcs redirect and add bugs redirect For ticket 12030 we want to add a 'bugs.fedoraproject.org' redirect to the page on how to file bugs. This does that and also cleans up an ordering issue to finish off odcs redirects. Signed-off-by: Kevin Fenzi --- playbooks/include/proxies-redirects.yml | 21 ++++++++++++++------- playbooks/include/proxies-websites.yml | 7 +++++++ 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 77116634ad..6d5e175330 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -895,13 +895,6 @@ tags: - pdc -# - role: httpd/redirect -# shortname: 00-old-odcs -# website: odcs.fedoraproject.org -# target: https://dl.fedoraproject.org/pub/eln/1/ -# tags: -# - odcs - - role: httpd/redirectmatch shortname: 00-old-odcs-repo website: odcs.fedoraproject.org @@ -909,3 +902,17 @@ target: https://dl.fedoraproject.org/pub/eln/1/$1 tags: - odcs + + - role: httpd/redirect + shortname: 01-old-odcs + website: odcs.fedoraproject.org + target: https://dl.fedoraproject.org/pub/eln/1/ + tags: + - odcs + + - role: httpd/redirect + shortname: bugs + website: bugs.fedoraproject.org + target: https://docs.fedoraproject.org/en-US/quick-docs/bugzilla-file-a-bug + tags: + - bugs diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index 70b3925b1b..3e941d8a2c 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -1213,3 +1213,10 @@ cert_name: "{{wildcard_cert_name}}" tags: - webhook2fedmsg + + - role: httpd/website + site_name: "bugs{{ env_suffix }}.fedoraproject.org" + sslonly: true + cert_name: "{{wildcard_cert_name}}" + tags: + - bugs