txt is actually already compressed

This commit is contained in:
Kai Hendry
2015-10-02 13:28:05 +08:00
parent f37fc99c62
commit 0c95f8c595

View File

@@ -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;
}