diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager-redirector.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager-redirector.conf index a8d0ff7d80..685df1898d 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager-redirector.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.mirrormanager-redirector.conf @@ -8,6 +8,8 @@ RewriteRule (.*) - [F] #RewriteCond %{REQUEST_URI} ^/pub/fedora/linux/.*[/]+sparc.* #RewriteRule ^/pub/fedora/linux/(.*) /pub/fedora-secondary/$1 +RewriteRule ^/$ https://getfedora.org/ [R=302,L] + 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]