disable dynamic gzip when using full static gzip

This commit is contained in:
Daniel Micay 2020-09-26 12:12:09 -04:00
parent f4258bf077
commit 4742817919

View File

@ -30,6 +30,7 @@ server {
charset utf-8;
include /etc/nginx/snippets/security-headers.conf;
gzip_static on;
gzip off;
if ($request_uri ~ ^/(.*)\.html$) {
return 301 /$1;