feat(configmap): expose gzip-disable (#9505)
* docs(configmap): add link for gzip-min-length * feat(configmap): expose gzip-disable * test(e2e): cover gzip settings * docs(configmap): simplify description with NGINX link * refactor(configmap): simplify condition
This commit is contained in:
parent
a069617ef8
commit
e6dcd6845e
5 changed files with 115 additions and 1 deletions
|
|
@ -336,6 +336,9 @@ http {
|
|||
{{ if $cfg.UseGzip }}
|
||||
gzip on;
|
||||
gzip_comp_level {{ $cfg.GzipLevel }};
|
||||
{{- if $cfg.GzipDisable }}
|
||||
gzip_disable "{{ $cfg.GzipDisable }}";
|
||||
{{- end }}
|
||||
gzip_http_version 1.1;
|
||||
gzip_min_length {{ $cfg.GzipMinLength}};
|
||||
gzip_types {{ $cfg.GzipTypes }};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue