Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev
This commit is contained in:
commit
2252d96fe8
2 changed files with 2 additions and 1 deletions
|
@ -54,6 +54,7 @@ class nginx (
|
|||
$http_cfg_append = $nginx::params::nx_http_cfg_append,
|
||||
$nginx_error_log = $nginx::params::nx_nginx_error_log,
|
||||
$http_access_log = $nginx::params::nx_http_access_log,
|
||||
$gzip = $nginx::params::nx_gzip,
|
||||
$nginx_vhosts = {},
|
||||
$nginx_upstreams = {},
|
||||
$nginx_locations = {},
|
||||
|
|
|
@ -30,7 +30,7 @@ http {
|
|||
keepalive_timeout <%= scope.lookupvar('nginx::params::nx_keepalive_timeout')%>;
|
||||
tcp_nodelay <%= scope.lookupvar('nginx::params::nx_tcp_nodelay')%>;
|
||||
|
||||
<% if scope.lookupvar('nginx::params::nx_gzip') == 'on' %>
|
||||
<% if @gzip == 'on' %>
|
||||
gzip on;
|
||||
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue