mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
Enable compression for SVG files
This commit is contained in:
parent
8dd7c0c984
commit
173aa69905
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ server {
|
|||
gzip_vary on;
|
||||
gzip_min_length 1000;
|
||||
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
|
||||
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue