nixos/nginx: remove usage of recommendedZstdSettings and zstd setting… (#425772)
This commit is contained in:
commit
879fae2fb5
@ -171,14 +171,6 @@ let
|
|||||||
quic_bpf on;
|
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}
|
${cfg.config}
|
||||||
|
|
||||||
${optionalString (cfg.eventsConfig != "" || cfg.config == "") ''
|
${optionalString (cfg.eventsConfig != "" || cfg.config == "") ''
|
||||||
@ -250,7 +242,7 @@ let
|
|||||||
''
|
''
|
||||||
}
|
}
|
||||||
|
|
||||||
${optionalString cfg.recommendedZstdSettings ''
|
${optionalString cfg.experimentalZstdSettings ''
|
||||||
zstd on;
|
zstd on;
|
||||||
zstd_comp_level 9;
|
zstd_comp_level 9;
|
||||||
zstd_min_length 256;
|
zstd_min_length 256;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user