Remove workaround for very old ostree

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-01-30 20:26:11 +01:00
parent f10ce98e0f
commit acf6f6587b
4 changed files with 0 additions and 69 deletions

View file

@ -6,14 +6,6 @@ RewriteRule ^.*$ https://fedoraproject.org/wiki/Infrastructure/Mirroring#Tools_t
RewriteRule ^/$ /pub [R=302,L]
# This is to deal with a broken ostree (actually libcurl) that doesn't work well with ostree
# The only remaining image with this bug is F27 Fedora Atomic Workstation
# Can be nuked after F28 GA
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^ostree$
RewriteRule ^/ostree/27/(.*)$ http://brokenostreekojipkgs.fedoraproject.org/atomic/repo/$1 [L,R=302]
RedirectMatch 302 ^/pub/fedora/linux/atomic/(.*$) https://kojipkgs.fedoraproject.org/atomic/$1
RedirectMatch 302 ^/pub/fedora/linux/atomic https://kojipkgs.fedoraproject.org/atomic/
Redirect 302 "/ostree/27" "https://kojipkgs.fedoraproject.org/atomic/repo"