hydra: disable nginx compression for nix-cache content

This commit is contained in:
Astro 2024-01-11 20:43:51 +01:00
parent ebc6848762
commit 1cf776cd46
1 changed files with 8 additions and 1 deletions

View File

@ -182,7 +182,14 @@ in
"nix-cache.hq.c3d2.de" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1:${toString cachePort}";
locations."/" = {
proxyPass = "http://127.0.0.1:${toString cachePort}";
extraConfig = ''
brotli off;
gzip off;
zstd off;
'';
};
};
};
};