🔧 proxies-redirects: Redirect parameter for docs.fp.o/dei/ redirect

This commit enhances the redirect regex used for the docs.fp.o redirect
for the DEI Team documentation. I follow @kevin's example from the CPE
to CLE docs redirect, which uses a parameter and redirects a specific
page to the new address. Currently, the DEI Team docs redirect will take
the user to the main page of the team, regardless of what specific page
is visited.

I also added a `docs` tag to the CLE tags redirect, since it is a Fedora
Docs-specific redirect too.

Signed-off-by: Justin W. Flory (he/him) <jwf@redhat.com>
This commit is contained in:
Justin W. Flory (he/him) 2025-01-15 13:11:24 -05:00
parent b30121aee4
commit f5368a271c
Signed by untrusted user who does not match committer: jflory7
GPG key ID: 7748B15FA8FA4C7E

View file

@ -1,5 +1,5 @@
--- ---
- name: Set up those proxy redirects. Wow! - name: Set up those proxy redirects. Wow!
hosts: proxies_stg:proxies hosts: proxies_stg:proxies
user: root user: root
gather_facts: true gather_facts: true
@ -853,9 +853,9 @@
- role: httpd/redirectmatch - role: httpd/redirectmatch
shortname: 00-docs-dei shortname: 00-docs-dei
website: docs.fedoraproject.org website: "docs.fedoraproject.org"
regex: (?i)^/en-US/diversity-inclusion regex: ^/en-US/diversity-inclusion/(.*)$
target: https://docs.fedoraproject.org/en-US/dei/ target: https://docs.fedoraproject.org/en-US/dei/$1
tags: tags:
- docs - docs
@ -925,3 +925,4 @@
target: https://docs.fedoraproject.org/en-US/cle/$1 target: https://docs.fedoraproject.org/en-US/cle/$1
tags: tags:
- cle - cle
- docs