diff --git a/states/roles/maintain/pkg-cache/cache.conf b/states/roles/maintain/pkg-cache/cache.conf index 94b9fb1..771b32a 100644 --- a/states/roles/maintain/pkg-cache/cache.conf +++ b/states/roles/maintain/pkg-cache/cache.conf @@ -31,8 +31,12 @@ server { root /mnt/pkgs; } + location ~ \.(db|sig) { + proxy_pass https://mirrors.kernel.org$request_uri; + } + location / { - proxy_pass http://repo.miserver.it.umich.edu/; + proxy_pass https://mirrors.kernel.org; proxy_cache pkg-cache; # This directive should match the keys_zone option proxy_cache_revalidate on; proxy_cache_min_uses 0;