mirrormanager: redirect 7Server to 7 for epel download redirects.

Fixes https://pagure.io/fedora-infrastructure/issue/7444

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2018-12-28 20:15:24 +00:00
parent ed7d2fd8cf
commit 564fc0fbf1

View file

@ -8,6 +8,7 @@ RewriteRule (.*) - [F]
#RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*[/]+sparc.*
#RewriteRule ^/pub/fedora/linux/(.*) /pub/fedora-secondary/$1
RewriteRule ^/pub/epel/7Server/(.+) http://localhost:10002/mirrorlist?path=pub/epel/7/$1&redirect=1 [P,QSA,L]
RewriteRule ^/(.+) {{proxyurl}}/mirrorlist?path=$1&redirect=1 [P,QSA,L]
RewriteRule ^/$ {{proxyurl}}/mirrorlist?path=pub/fedora/linux/&redirect=1 [P,QSA,L]