From a381bf52e0fa04c67d3f7cc12a41bcb5ac60c190 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 17 Apr 2023 11:46:10 -0700 Subject: [PATCH] proxies / registry: don't use cdn for aarch64 builders either Right now we only exclude the builders on 10.3.169 from using the registry cdn (ie, the x86_86 builders), but we also make aarch64 containers/images and we should exclude it too ( 10.3.170.x ). This might fix a weird compose failure we have been getting on aarch64 ostree installer images. Signed-off-by: Kevin Fenzi --- .../templates/reversepassproxy.registry-generic.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf b/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf index bf3f097304..39ff7dbb46 100644 --- a/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf +++ b/roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf @@ -20,6 +20,7 @@ RewriteCond %{REQUEST_METHOD} !^(PATCH|POST|PUT|DELETE|HEAD)$ RewriteCond %{REMOTE_HOST} !^osbs-*$ # builders shouldn't use the cdn for flatpak building. RewriteCond expr "! -R '10.3.169.0/24'" +RewriteCond expr "! -R '10.3.170.0/24'" RewriteRule ^/v2/(.*)/blobs/([a-zA-Z0-9:]*) https://cdn.registry.fedoraproject.org/v2/$1/blobs/$2 [R] {% endif %}