hydra: disable nginx compression for nix-cache content
This commit is contained in:
parent
ebc6848762
commit
1cf776cd46
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue