Add gzip-min-length as a configurable

This commit is contained in:
Daniel Arifin 2020-02-14 13:23:36 +07:00
parent 71e35c9100
commit d48d5a61ae
4 changed files with 12 additions and 1 deletions

View file

@ -239,7 +239,7 @@ http {
gzip on;
gzip_comp_level {{ $cfg.GzipLevel }};
gzip_http_version 1.1;
gzip_min_length 256;
gzip_min_length {{ $cfg.GzipMinLength}};
gzip_types {{ $cfg.GzipTypes }};
gzip_proxied any;
gzip_vary on;