Commit f327a204aada

Vincent Demeester <vincent@sbr.pm>
2018-12-17 12:34:42
nix-binary-cache: update key cache size
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 8296c7b
Changed files (1)
modules
modules/services/nix-binary-cache.nix
@@ -23,7 +23,7 @@ in
     services.nginx = {
       enable = true;
       appendHttpConfig = ''
-        proxy_cache_path /var/public-nix-cache/ levels=1:2 keys_zone=cachecache:100m max_size=10g inactive=365d use_temp_path=off;
+        proxy_cache_path /var/public-nix-cache/ levels=1:2 keys_zone=cachecache:800m max_size=10g 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 {