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:
parent
5847b5c4a6
commit
cbb48eff19
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue