nixos/nginx: remove recommendedZstdSettings, add experimental option - #381678
Conversation
8b1ca4f to
f001242
Compare
f001242 to
77270af
Compare
The zstd module is unmaintained and buggy, remove it preventively. The option itself will probably be removed soon [1]. [1]: NixOS/nixpkgs#381678
The zstd module is unmaintained and buggy, remove it preventively. The option itself will probably be removed soon [1]. [1]: NixOS/nixpkgs#381678
77b60c7 to
18079b2
Compare
|
I personally just got stung by this specific issue (pr 23 on the zstd-nginx-module), home assistant's favicon seems to trigger the infinite loop and is really annoying to debug! I didn't understand that the 'recommended' zstd options could have major unfixed bugs like this, like causing my nginx reverse proxy to hang until i kill the worker process. If we are going to keep this as an option, I would suggest we either include |
18079b2 to
75db741
Compare
|
Rebased and fixed the merge conflict. If there are no further objections, I intend to merge this in a few days. |
The zstd nginx module has known bugs and upstream is currently not maintained. We should not recommend a buggy module and configuration to our users since we are not maintaining the module either.
75db741 to
db75f90
Compare
| quic_bpf on; | ||
| ''} | ||
|
|
||
| ${optionalString cfg.experimentalZstdSettings '' |
There was a problem hiding this comment.
In line 253 we still have recommendedZstdSettings which will probably break eval and I don't think that the move of the setting was intentional.
* replace hardcorded value for `home.stateVersion` with current NixOS version * adopt changes of `programs.ssh`: nix-community/home-manager#7655 * adopt changes of `programs.git`: nix-community/home-manager#8006 @ home/n0099.nix * adopt changes of NixOS/nixpkgs#381678 @ default.nix * adopt changes of NixOS/nixpkgs#464333 @ http3.nix @ nginx
* replace hardcorded value for `home.stateVersion` with current NixOS version * adopt changes of `programs.ssh`: nix-community/home-manager#7655 * adopt changes of `programs.git`: nix-community/home-manager#8006 @ home/n0099.nix * adopt changes of NixOS/nixpkgs#381678 @ default.nix * adopt changes of NixOS/nixpkgs#464333 @ http3.nix @ nginx
* replace hardcorded value for `home.stateVersion` with current NixOS version * adopt changes of `programs.ssh`: nix-community/home-manager#7655 * adopt changes of `programs.git`: nix-community/home-manager#8006 @ home/n0099.nix * adopt changes of NixOS/nixpkgs#381678 @ default.nix * adopt changes of NixOS/nixpkgs#464333 @ http3.nix @ nginx
The zstd nginx module has known bugs and upstream is currently not maintained. We should not recommend a buggy module and configuration to our users since we are not maintaining the module either.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.