From ce5c8188d21e7135f9da6114edaac96595122112 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 19 Aug 2021 13:43:17 -0700 Subject: [PATCH] proxies: setup askbot redirect to ask (ticket 10140) Signed-off-by: Kevin Fenzi --- playbooks/include/proxies-redirects.yml | 6 ++++++ playbooks/include/proxies-websites.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/playbooks/include/proxies-redirects.yml b/playbooks/include/proxies-redirects.yml index 3cb32aa888..0a26f49e86 100644 --- a/playbooks/include/proxies-redirects.yml +++ b/playbooks/include/proxies-redirects.yml @@ -75,6 +75,12 @@ website: fas.fedoraproject.org target: https://admin.fedoraproject.org/accounts/ + - role: httpd/redirectmatch + shortname: askbot-to-ask + website: askbot.fedoraproject.org + regex: ^.* + target: https://ask.fedoraproject.org/t/askbot-fedoraproject-org-archives-are-going-away/16118 + - role: httpd/redirectmatch shortname: codecs website: codecs.fedoraproject.org diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index a112225522..7e59bc66da 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -539,6 +539,12 @@ sslonly: true cert_name: "{{wildcard_cert_name}}" + - role: httpd/website + site_name: askbot.fedoraproject.org + server_aliases: [askbot.stg.fedoraproject.org] + sslonly: true + cert_name: "{{wildcard_cert_name}}" + - role: httpd/website site_name: badges.fedoraproject.org server_aliases: [badges.stg.fedoraproject.org]