Enable compression for SVG files
This commit is contained in:
parent
8dd7c0c984
commit
173aa69905
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue