infrastructure/nginx/conf.d/sub/gzip.conf
Bensuperpc 6c244e3e68
Update nginx containter
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-03-19 13:01:07 +01:00

13 lines
318 B
Plaintext

# Compression config
gzip on;
gunzip on;
gzip_static on;
gzip_min_length 1000;
gzip_buffers 4 32k;
# gzip_http_version 1.1;
gzip_proxied any;
gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;
gzip_vary on;
gzip_comp_level 6;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";