Also compress SVG and ICO images in nginx (#17651)

shrike
LinAGKar 2022-02-26 17:27:11 +01:00 committed by GitHub
parent 6aef76b5cd
commit 48caeb9d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
dist/nginx.conf vendored
View File

@ -50,7 +50,7 @@ server {
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml image/x-icon;
add_header Strict-Transport-Security "max-age=31536000" always;