webserver-config/install/nginx-conf/40-gzip.conf

6 lines
No EOL
222 B
Text

# Turn on gzip compression
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_types text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml;