Move kojipkgs/atomic to kojipkgs/ostree

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-02-06 16:00:28 +01:00
parent 9d29942eb5
commit db0375b8b6
3 changed files with 5 additions and 5 deletions

View file

@ -11,9 +11,9 @@ 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"
RedirectMatch 302 ^/atomic/repo/deltas/(.*) https://d1gglb5celp6et.cloudfront.net/deltas/$1
RedirectMatch 302 ^/atomic/repo/objects/(.*) https://d1gglb5celp6et.cloudfront.net/objects/$1
RedirectMatch 302 ^/atomic/repo/(.*) https://kojipkgs.fedoraproject.org/atomic/repo/$1
RedirectMatch 302 ^/atomic/repo/deltas/(.*) https://d2uk5hbyrobdzx.cloudfront.net/deltas/$1
RedirectMatch 302 ^/atomic/repo/objects/(.*) https://d2uk5hbyrobdzx.cloudfront.net/objects/$1
RedirectMatch 302 ^/atomic/repo/(.*) https://kojipkgs.fedoraproject.org/ostree/repo/$1
RedirectMatch 302 ^/cdn-testing/atomic/repo/deltas/(.*) https://d1dgksnh07m2j5.cloudfront.net/deltas/$1
RedirectMatch 302 ^/cdn-testing/atomic/repo/objects/(.*) https://d1dgksnh07m2j5.cloudfront.net/objects/$1

View file

@ -1 +1 @@
https://d1gglb5celp6et.cloudfront.net/
https://d2uk5hbyrobdzx.cloudfront.net/

View file

@ -2,7 +2,7 @@ DocumentRoot /srv/web/ostree
RewriteEngine On
RewriteRule "^/objects/([a-f0-9]{2})/([a-f0-9]{62})\.commitmeta$" https://d1gglb5celp6et.cloudfront.net/objects/$1/$2.commitmeta
RewriteRule "^/objects/([a-f0-9]{2})/([a-f0-9]{62})\.commitmeta$" https://d2uk5hbyrobdzx.cloudfront.net/objects/$1/$2.commitmeta
RewriteRule "^/iot/objects/([a-f0-9]{2})/([a-f0-9]{62})\.commitmeta$" https://https://d2ju0wfl996cmc.cloudfront.net/objects/$1/$2.commitmeta
RewriteCond %{HTTP:X-Amz-Cf-Id} !^$