Commit 15e935df2023
Changed files (1)
modules
services
modules/services/nix-binary-cache.nix
@@ -28,7 +28,7 @@ in
services.nginx = {
enable = true;
appendHttpConfig = ''
- proxy_cache_path /var/public-nix-cache/ levels=1:2 keys_zone=cachecache:800m max_size=10g inactive=365d use_temp_path=off;
+ proxy_cache_path /var/public-nix-cache/ levels=1:2 keys_zone=cachecache:1200m max_size=20g inactive=365d use_temp_path=off;
# Cache only success status codes; in particular we don't want to cache 404s.
# See https://serverfault.com/a/690258/128321
map $status $cache_header {