diff --git a/nginx/default.conf b/nginx/default.conf index 29f3fb8..83d268f 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -43,4 +43,10 @@ server { #location ~ /\.ht { # deny all; #} + gzip on; + gzip_vary on; + gzip_min_length 10240; + gzip_proxied expired no-cache no-store private auth; + gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; + gzip_disable "MSIE [1-6]\."; }