disable dynamic gzip when using full static gzip
This commit is contained in:
parent
f4258bf077
commit
4742817919
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user