Browse Source

add support for gzip_disable

tags/v0.55.0
Kent Shultz 10 years ago
parent
commit
16ecfa1298
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nginx/templates/config.jinja

+ 1
- 0
nginx/templates/config.jinja View File

@@ -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 {

Loading…
Cancel
Save