add support for gzip_disable
This commit is contained in:
parent
6fd6ee7b20
commit
16ecfa1298
@ -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…
Reference in New Issue
Block a user