2013-07-17 20:42:57 +02:00
|
|
|
location <%= @location %> {
|
|
|
|
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
|
2013-09-14 10:24:01 +02:00
|
|
|
<%= key %> <%= value %>;
|
|
|
|
<% end -%><% end -%>
|
2012-10-03 00:44:47 +02:00
|
|
|
stub_status on;
|
2013-07-17 20:42:57 +02:00
|
|
|
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
|
2013-09-14 10:24:01 +02:00
|
|
|
<%= key %> <%= value %>;
|
|
|
|
<% end -%><% end -%>
|
2012-10-03 00:44:47 +02:00
|
|
|
}
|
2013-07-31 23:07:59 +02:00
|
|
|
|