infrastructure/old_enginx/nginx/conf.d/sub/gzip.conf
Bensuperpc c07c16f2d7
Update with caddy instead nginx
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-04-10 23:42:21 +02: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)";