mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Move the redirect to dl.fp.o
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
@@ -10,3 +10,6 @@ RedirectMatch 302 ^/pub/fedora/linux/atomic https://kojipkgs.fedoraproject.org/a
|
||||
Redirect 302 "/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
||||
Redirect 302 "/pub/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
||||
|
||||
Redirect 302 "/atomic/repo" "https://kojipkgs.fedoraproject.org/atomic/repo"
|
||||
RewriteCond %{HTTP:X-CloudFront} !^$
|
||||
RewriteRule "/atomic/repo/objects/(.*)" "https://d2os45suu8yck8.cloudfront.net/$1" [R=302,L]
|
||||
|
||||
@@ -34,7 +34,3 @@ ProxyPassReverse {{ localpath }} {{ proxyurl }}{{remotepath}}
|
||||
{% else %}
|
||||
Redirect 421 /
|
||||
{% endif %}
|
||||
|
||||
# Atomic Objects
|
||||
RewriteCond %{HTTP:X-CloudFront} !^$
|
||||
RewriteRule "/atomic/repo/objects/(.*)" "https://d2os45suu8yck8.cloudfront.net/$1" [R=302,L]
|
||||
|
||||
Reference in New Issue
Block a user