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:
parent
ed7d2fd8cf
commit
564fc0fbf1
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue