Add $nx_types_hash_max_size params

Fix puppet-lint ERROR
This commit is contained in:
Lebedev Vadim 2013-03-16 13:34:07 +04:00
parent 1441edcfac
commit 74cfbe6c72
8 changed files with 21 additions and 18 deletions

View file

@ -27,6 +27,7 @@ class nginx::params {
$nx_tcp_nodelay = on
$nx_gzip = on
$nx_types_hash_max_size = 2048
$nx_proxy_redirect = off
$nx_proxy_set_header = [
'Host $host', 'X-Real-IP $remote_addr',

View file

@ -24,6 +24,8 @@ http {
keepalive_timeout <%= scope.lookupvar('nginx::params::nx_keepalive_timeout')%>;
tcp_nodelay <%= scope.lookupvar('nginx::params::nx_tcp_nodelay')%>;
types_hash_max_size <%= scope.lookupvar('nginx::params::nx_types_hash_max_size')%>;
<% if scope.lookupvar('nginx::params::nx_gzip') == 'on' %>
gzip on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";