From ff2b88049096d9017fff96a3c47f97082484c0c2 Mon Sep 17 00:00:00 2001 From: Actaeus Curabitur Date: Thu, 1 Sep 2022 05:25:13 -0500 Subject: [PATCH] updated pkg cache --- states/roles/maintain/pkg-cache/cache.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;