pagure / docs.pagure.org: adjust SSSD redirects to work.

apache redirectmatches are the worst.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-07-02 12:34:42 -07:00
parent 5847b5c4a6
commit cbb48eff19

View file

@ -192,9 +192,10 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
# redirects for sssd docs.
# https://pagure.io/fedora-infrastructure/issue/8995
RedirectMatch ^/SSSD.sssd https://sssd.io
RedirectMatch ^/SSSD.sssd/index.html https://sssd.io/index.html
RedirectMatch ^/SSSD.sssd/(.*) https://sssd.io/docs/$1
RedirectMatch ^/SSSD.sssd$ https://sssd.io
RedirectMatch ^/SSSD.sssd/$ https://sssd.io
RedirectMatch ^/SSSD.sssd/index.html https://sssd.io/index.html
RedirectMatch ^/SSSD.sssd/(.*) https://sssd.io/docs/$1
<Location "/static/vendor/emojione/emojione.sprites.png">
ExpiresActive On