Make download.fp.o main page go to getfedora.org

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2020-02-10 15:14:44 +01:00 committed by Pierre-Yves Chibon
parent a35ca948b3
commit 62f15555b5

View file

@ -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]