mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 07:52:13 +00:00
Enable gzip compression for .svg
This commit is contained in:
parent
59d22ef775
commit
b2a7ce834d
2
ansible/templates/nginx.conf
vendored
2
ansible/templates/nginx.conf
vendored
|
@ -36,7 +36,7 @@ server {
|
||||||
# It might be nice to compress JSON, but leaving that out to protect against potential
|
# It might be nice to compress JSON, but leaving that out to protect against potential
|
||||||
# compression+encryption information leak attacks like BREACH.
|
# compression+encryption information leak attacks like BREACH.
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_types text/css application/javascript;
|
gzip_types text/css application/javascript image/svg+xml;
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
|
||||||
# Only connect to this site via HTTPS for the two years
|
# Only connect to this site via HTTPS for the two years
|
||||||
|
|
Loading…
Reference in a new issue