Update nginx.conf

This commit is contained in:
Eric Johansson (neku) 2021-06-06 19:47:50 +02:00 committed by GitHub
parent e9d9f73c92
commit 9ed3650ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,13 +55,13 @@ access_log off;
# Gzip Settings
##
gzip off;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/xml;
#gzip off;
#gzip_vary on;
#gzip_proxied any;
#gzip_comp_level 6;
#gzip_buffers 16 8k;
#gzip_http_version 1.1;
#gzip_types application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/xml;
##
# Virtual Host Configs
@ -69,4 +69,4 @@ gzip_types application/javascript application/rss+xml application/vnd.ms-fontobj
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
}