Updated pkg-cache to handle db and sig files properly
This commit is contained in:
parent
2d54f2346d
commit
14fb9ccc26
3 changed files with 2320 additions and 372 deletions
File diff suppressed because it is too large
Load diff
1921
states/roles/maintain/nextcloud/nextcloud-php.ini.tmp
Normal file
1921
states/roles/maintain/nextcloud/nextcloud-php.ini.tmp
Normal file
File diff suppressed because it is too large
Load diff
|
@ -27,12 +27,16 @@ server {
|
|||
proxy_read_timeout 300;
|
||||
proxy_connect_timeout 300;
|
||||
|
||||
location /archlinux/aur-local {
|
||||
location ~ aur-local {
|
||||
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;
|
||||
|
|
Loading…
Add table
Reference in a new issue