about summary refs log tree commit diff
path: root/dist
diff options
context:
space:
mode:
authorLinAGKar <linus.kardell@gmail.com>2022-02-26 17:27:11 +0100
committerGitHub <noreply@github.com>2022-02-26 17:27:11 +0100
commit48caeb9d659abd58ec7a9dc04f7365b35e314b74 (patch)
treefa9d947b2e023c05758a51beef4b4ef18b676497 /dist
parent6aef76b5cde2315135d53215d13a9b2ec0a1adaa (diff)
Also compress SVG and ICO images in nginx (#17651)
Diffstat (limited to 'dist')
-rw-r--r--dist/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/nginx.conf b/dist/nginx.conf
index 27ca868ab..7e0334368 100644
--- a/dist/nginx.conf
+++ b/dist/nginx.conf
@@ -50,7 +50,7 @@ server {
   gzip_comp_level 6;
   gzip_buffers 16 8k;
   gzip_http_version 1.1;
-  gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
+  gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml image/x-icon;
 
   add_header Strict-Transport-Security "max-age=31536000" always;