Commit 15e935df2023

Vincent Demeester <vincent@sbr.pm>
2018-12-19 19:32:54
nix-cache: update values
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 09a1f02
Changed files (1)
modules
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 {