globally disable dynamic gzip compression
This commit is contained in:
parent
dbee9a704c
commit
527dac5802
@ -39,7 +39,6 @@ http {
|
||||
access_log /var/log/nginx/access.log;
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
gzip on;
|
||||
gzip_vary on;
|
||||
|
||||
server {
|
||||
@ -75,7 +74,6 @@ http {
|
||||
|
||||
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