e1363545ae
Defaults are set inside params, nginx class will set default and send it from local var to nginx::config, so even when there is no need for set default values on nginx::config, in case someone already using this module it's for some reason calling directly nginx::config, to avoid breaking anything defaults are set inside nginx::config too.
10 lines
706 B
Text
10 lines
706 B
Text
proxy_redirect <%= scope.lookupvar('nginx::params::nx_proxy_redirect') %>;
|
|
client_max_body_size <%= scope.lookupvar('nginx::params::nx_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') %>;
|
|
proxy_buffers <%= scope.lookupvar('nginx::params::nx_proxy_buffers') %>;
|
|
<% proxy_set_header.each do |header| %>
|
|
proxy_set_header <%= header %>;
|
|
<% end %>
|