summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-18 22:45:24 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-18 22:45:24 +0100
commitf11b9ebc0f1b0228f632e01ed3cc43f8d0dea279 (patch)
treec6bc51fa01623e39282d9c1ac204ac931a4ad4cb
parentc3e23e13dd725bc47a74734039da3a8b024d293f (diff)
downloaddeployment-f11b9ebc0f1b0228f632e01ed3cc43f8d0dea279.tar.gz
deployment-f11b9ebc0f1b0228f632e01ed3cc43f8d0dea279.tar.bz2
deployment-f11b9ebc0f1b0228f632e01ed3cc43f8d0dea279.zip
enable gzip for application/javascript
-rw-r--r--etc/nginx/sites-enabled/www-ssl.site2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nginx/sites-enabled/www-ssl.site b/etc/nginx/sites-enabled/www-ssl.site
index 4d598a2..7831d38 100644
--- a/etc/nginx/sites-enabled/www-ssl.site
+++ b/etc/nginx/sites-enabled/www-ssl.site
@@ -33,7 +33,7 @@ server {
gzip_comp_level 6;
gzip_buffers 16 8k;
gzip_http_version 1.1;
- gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
+ gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
location ~* \.(png|jpg|jpeg|gif|ico|svg|js|css)$ {