diff options
author | Felix Ableitner <me@nutomic.com> | 2020-06-03 11:59:39 +0200 |
---|---|---|
committer | Felix Ableitner <me@nutomic.com> | 2020-06-03 11:59:39 +0200 |
commit | b2a7ce834dda1afb17746c92bec4720fbe50f590 (patch) | |
tree | 7dc60a0757fcc8d20dfd22a7ad0a8aea1ebdc36c /ansible | |
parent | 59d22ef7753e774d89d5a70877d65a3c6578490a (diff) |
Enable gzip compression for .svg
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/templates/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/templates/nginx.conf b/ansible/templates/nginx.conf index 04e5a643..a978c189 100644 --- a/ansible/templates/nginx.conf +++ b/ansible/templates/nginx.conf @@ -36,7 +36,7 @@ server { # It might be nice to compress JSON, but leaving that out to protect against potential # compression+encryption information leak attacks like BREACH. gzip on; - gzip_types text/css application/javascript; + gzip_types text/css application/javascript image/svg+xml; gzip_vary on; # Only connect to this site via HTTPS for the two years |