From 16ecfa1298150bb922f81c92a05983cd7b30bc6a Mon Sep 17 00:00:00 2001 From: Kent Shultz Date: Thu, 29 May 2014 13:44:31 -0700 Subject: [PATCH] add support for gzip_disable --- nginx/templates/config.jinja | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx/templates/config.jinja b/nginx/templates/config.jinja index a8bc2e6..88e7beb 100644 --- a/nginx/templates/config.jinja +++ b/nginx/templates/config.jinja @@ -39,6 +39,7 @@ http { gzip_buffers {{ nginx.get('gzip_buffers', '16 8k') }}; gzip_http_version {{ nginx.get('gzip_http_version', '1.1') }}; gzip_types {{ nginx.get('gzip_types', ['text/plain', 'text/css', 'application/json', 'application/x-javascript', 'text/xml', 'application/xml', 'application/xml+rss', 'text/javascript'])|join(' ') }}; + gzip_disable "{{ nginx.get('gzip_disable', 'msie6' }}"; # turn on nginx_status on localhost server {