2011-06-07 00:25:04 +02:00
|
|
|
location <%= location %> {
|
2012-10-03 01:35:52 +02:00
|
|
|
<% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
|
|
|
|
<%= key %> <%= value %>;
|
|
|
|
<% end -%><% end -%>
|
2013-03-27 19:13:52 +01:00
|
|
|
<% if proxy_cache -%>
|
|
|
|
proxy_cache <%= proxy_cache %>;
|
|
|
|
proxy_cache_valid <%= proxy_cache_valid %>;
|
|
|
|
<% end -%>
|
|
|
|
proxy_pass <%= proxy %>;
|
|
|
|
proxy_read_timeout <%= proxy_read_timeout %>;
|
2012-10-03 01:35:52 +02:00
|
|
|
<% if @location_cfg_append -%><% location_cfg_append.each do |key,value| -%>
|
|
|
|
<%= key %> <%= value %>;
|
|
|
|
<% end -%><% end -%>
|
2011-06-07 00:25:04 +02:00
|
|
|
}
|