Enable compression for SVG files

This commit is contained in:
Robin Ward 2017-08-01 17:25:25 -04:00
parent 8dd7c0c984
commit 173aa69905
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ server {
gzip_vary on; gzip_vary on;
gzip_min_length 1000; gzip_min_length 1000;
gzip_comp_level 5; gzip_comp_level 5;
gzip_types application/json text/css application/x-javascript application/javascript; gzip_types application/json text/css application/x-javascript application/javascript image/svg+xml;
# Uncomment and configure this section for HTTPS support # Uncomment and configure this section for HTTPS support
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx) # NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)