diff --git a/nginx.conf b/nginx.conf index 1570489..c934895 100644 --- a/nginx.conf +++ b/nginx.conf @@ -26,10 +26,11 @@ http { } location ~ \.(svg|txt)$ { - gzip_static always; + add_header Content-Encoding gzip; + gzip off; } - location ~* \.(svg|css|woff|js)$ { + location ~* \.(svg|css|js)$ { expires 7d; }