diff --git a/nginx.conf b/nginx.conf index 9756886..a93b8c6 100644 --- a/nginx.conf +++ b/nginx.conf @@ -67,7 +67,21 @@ http { gzip_min_length 1100; gzip_buffers 4 8k; gzip_proxied any; - gzip_types text/plain text/xml application/xml application/xml+rss text/css text/javascript application/javascript application/json image/svg+xml font/truetype font/opentype application/vnd.ms-fontobject; + gzip_types + # text/html is always compressed by HttpGzipModule + text/css + text/javascript + text/xml + text/plain + text/x-component + application/javascript + application/json + application/xml + application/rss+xml + font/truetype + font/opentype + application/vnd.ms-fontobject + image/svg+xml; gzip_static on;