mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-07-07 17:45:49 +02:00
Update nginx containter
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
13
nginx/conf.d/sub/gzip.conf
Normal file
13
nginx/conf.d/sub/gzip.conf
Normal file
@ -0,0 +1,13 @@
|
||||
# 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)";
|
Reference in New Issue
Block a user