I'd like to revert this commit and remove
/etc/httpd/conf.d/docs.fedoraproject.org/workstation-main on all proxies
and reload httpd on them.
This redirect never worked, and they are going to fix it by just
renaming the branch for now. ;(
+1s?
kevin
--
commit decf1ed65e3f7266d14f5592c60ed6d3dee6f9c2
Author: Kevin Fenzi <kevin(a)scrye.com>
Date: Wed Sep 29 15:33:56 2021 -0700
proxies: redirect / to /main for workstation-working-group
Right now there's a issue in the docs pipeline where it's not handling
the main branch right, add this temp redirect to work around that until
it's fixed properly in docs.
See
https://pagure.io/fedora-infrastructure/issue/10243
Signed-off-by: Kevin Fenzi <kevin(a)scrye.com>
diff --git a/playbooks/include/proxies-redirects.yml
b/playbooks/include/proxies-redirects.yml
index 6747dc581..114ef7567 100644
--- a/playbooks/include/proxies-redirects.yml
+++ b/playbooks/include/proxies-redirects.yml
@@ -884,3 +884,9 @@
website:
qa.fedoraproject.org
path: /
target:
https://fedoraproject.org/wiki/QA
+
+ - role: httpd/redirectmatch
+ shortname: workstation-main
+ website:
docs.fedoraproject.org
+ regex: ^(.*)/workstation-working-group/
+ target:
https://docs.fedoraproject.org/$1/main/