From 4382c75cf38e1e484f430e06fe8360d6bdcbb494 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 10 Jan 2017 16:37:06 +0000 Subject: nginx: gzip everything MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx_base.sls | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2