diff --git a/roles/download/files/httpd/dl.fedoraproject.org/rewrite.conf b/roles/download/files/httpd/dl.fedoraproject.org/rewrite.conf index 2537f193b4..db5285cbf4 100644 --- a/roles/download/files/httpd/dl.fedoraproject.org/rewrite.conf +++ b/roles/download/files/httpd/dl.fedoraproject.org/rewrite.conf @@ -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 diff --git a/roles/fedora-web/ostree/files/mirrorlist b/roles/fedora-web/ostree/files/mirrorlist index 2e23fdd47e..724774d6ef 100644 --- a/roles/fedora-web/ostree/files/mirrorlist +++ b/roles/fedora-web/ostree/files/mirrorlist @@ -1 +1 @@ -https://d1gglb5celp6et.cloudfront.net/ +https://d2uk5hbyrobdzx.cloudfront.net/ diff --git a/roles/fedora-web/ostree/files/ostree.conf b/roles/fedora-web/ostree/files/ostree.conf index ce8a225a88..d7178904db 100644 --- a/roles/fedora-web/ostree/files/ostree.conf +++ b/roles/fedora-web/ostree/files/ostree.conf @@ -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} !^$