summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:37:06 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2017-01-10 16:37:06 +0000
commit4382c75cf38e1e484f430e06fe8360d6bdcbb494 (patch)
tree90ae50d4f36c1d29b5114cd11438073432d77a3d
parent6bdba33f5029e1d029228be675c1c75deed13c97 (diff)
downloadpillar-4382c75cf38e1e484f430e06fe8360d6bdcbb494.tar.xz
nginx: gzip everything
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--nginx_base.sls3
1 files changed, 2 insertions, 1 deletions
diff --git a/nginx_base.sls b/nginx_base.sls
index 864a7e2..dbb77fc 100644
--- a/nginx_base.sls
+++ b/nginx_base.sls
@@ -15,7 +15,8 @@ nginx:
directio: 4m
keepalive_timeout: 65
gzip: 'on'
- gzip_types: text/css
+ gzip_proxied: 'any'
+ gzip_types: '*'
gzip_vary: 'on'
charset: utf-8
charset_types: text/xml text/plain application/javascript application/rss+xml application/json