module-nginx/templates/conf.d/proxy.conf.erb

11 lines
757 B
Text
Raw Normal View History

2011-06-07 00:25:04 +02:00
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') %>;
2013-05-06 11:40:46 +02:00
proxy_http_version <%= @proxy_http_version %>;
<% proxy_set_header.each do |header| %>
proxy_set_header <%= header %>;<% end %>