nixos/nginx: remove usage of recommendedZstdSettings and zstd setting… (#425772)

This commit is contained in:
K900 2025-07-16 16:28:31 +03:00 committed by GitHub
commit 879fae2fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,14 +171,6 @@ let
quic_bpf on;
''}
${optionalString cfg.experimentalZstdSettings ''
zstd on;
zstd_comp_level 9;
zstd_min_length 256;
zstd_static on;
zstd_types ${lib.concatStringsSep " " compressMimeTypes};
''}
${cfg.config}
${optionalString (cfg.eventsConfig != "" || cfg.config == "") ''
@ -250,7 +242,7 @@ let
''
}
${optionalString cfg.recommendedZstdSettings ''
${optionalString cfg.experimentalZstdSettings ''
zstd on;
zstd_comp_level 9;
zstd_min_length 256;