Replaced params references with config.
This commit is contained in:
parent
872d5970a8
commit
ba72229437
2 changed files with 6 additions and 6 deletions
|
@ -151,8 +151,8 @@ define nginx::resource::vhost (
|
|||
$ssl_trusted_cert = undef,
|
||||
$spdy = $nginx::params::nx_spdy,
|
||||
$proxy = undef,
|
||||
$proxy_read_timeout = $nginx::config::proxy_read_timeout,
|
||||
$proxy_connect_timeout = $nginx::params::nx_proxy_connect_timeout,
|
||||
$proxy_read_timeout = $nginx::config::nx_proxy_read_timeout,
|
||||
$proxy_connect_timeout = $nginx::config::nx_proxy_connect_timeout,
|
||||
$proxy_set_header = [],
|
||||
$proxy_cache = false,
|
||||
$proxy_cache_valid = false,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
proxy_redirect <%= @proxy_redirect %>;
|
||||
client_max_body_size <%= @client_max_body_size %>;
|
||||
client_body_buffer_size <%= scope.lookupvar('nginx::params::nx_client_body_buffer_size') %>;
|
||||
proxy_connect_timeout <%= scope.lookupvar('nginx::params::nx_proxy_connect_timeout') %>;
|
||||
proxy_send_timeout <%= scope.lookupvar('nginx::params::nx_proxy_send_timeout') %>;
|
||||
proxy_read_timeout <%= scope.lookupvar('nginx::params::nx_proxy_read_timeout') %>;
|
||||
client_body_buffer_size <%= scope.lookupvar('nginx::config::nx_client_body_buffer_size') %>;
|
||||
proxy_connect_timeout <%= scope.lookupvar('nginx::config::nx_proxy_connect_timeout') %>;
|
||||
proxy_send_timeout <%= scope.lookupvar('nginx::config::nx_proxy_send_timeout') %>;
|
||||
proxy_read_timeout <%= scope.lookupvar('nginx::config::nx_proxy_read_timeout') %>;
|
||||
proxy_buffers <%= @proxy_buffers %>;
|
||||
proxy_buffer_size <%= @proxy_buffer_size %>;
|
||||
proxy_http_version <%= @proxy_http_version %>;
|
||||
|
|
Loading…
Reference in a new issue