nginx gzip settings

This commit is contained in:
Dmitry Belyaev 2023-05-16 08:05:45 +00:00
parent 857f864142
commit 533676bd47

View File

@ -23,9 +23,9 @@ ssl_ecdh_curve secp384r1;
resolver 77.88.8.8;
#gzip on;
gzip on;
gzip_types text/plain application/json text/css application/javascript application/x-javascript text/javascript text/xml application/xml application/rss+xml application/atom+x$
gzip_min_length 1000;
gzip_min_length 4096;
gzip_proxied any;
add_header X-Frame-Options SAMEORIGIN;