Enable gzip and brotli for all response types

This commit is contained in:
ErickSkrauch 2019-11-26 22:32:26 +03:00
parent 885729fcde
commit 9eea03df73

View File

@ -29,19 +29,19 @@ http {
default "off";
}
# GZIP
# Gzip
gzip on;
gzip_comp_level 6;
gzip_min_length 256;
gzip_proxied any;
gzip_vary on;
gzip_types application/* font/* image/* text/*;
gzip_types *;
# Brotli
brotli on;
brotli_comp_level 6;
brotli_min_length 256;
brotli_types application/* font/* image/* text/*;
brotli_types *;
include /etc/nginx/conf.d/*.conf;
}