changed mirror for pkg cache - old mirror did redirects that prevented caching
This commit is contained in:
parent
256d75bc6b
commit
e83ba523a5
1 changed files with 2 additions and 2 deletions
|
@ -32,11 +32,11 @@ server {
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ \.(db|sig) {
|
location ~ \.(db|sig) {
|
||||||
proxy_pass https://mirrors.kernel.org$request_uri;
|
proxy_pass https://mirrors.advancedhosters.com$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass https://mirrors.kernel.org;
|
proxy_pass https://mirrors.advancedhosters.com;
|
||||||
proxy_cache pkg-cache; # This directive should match the keys_zone option
|
proxy_cache pkg-cache; # This directive should match the keys_zone option
|
||||||
proxy_cache_revalidate on;
|
proxy_cache_revalidate on;
|
||||||
proxy_cache_min_uses 0;
|
proxy_cache_min_uses 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue