diff --git a/nginx-conf/default.conf b/nginx-conf/default.conf index 8359fb7..ad4ec57 100644 --- a/nginx-conf/default.conf +++ b/nginx-conf/default.conf @@ -3,6 +3,17 @@ server { listen [::]:80; server_name localhost; + gzip on; + gzip_static on; + gzip_min_length 16k; + gzip_buffers 4 128k; + gzip_http_version 1.1; + gzip_comp_level 3; + gzip_types text/plain application/javascript application/x-javascript text/javascript text/css application/xml; + gzip_vary on; + gzip_proxied expired no-cache no-store private auth; + gzip_disable "MSIE [1-6]\."; + #access_log /var/log/nginx/host.access.log main; location / {