Update vhost_location_stub_status.erb

This commit is contained in:
Abdoul Bah 2013-08-15 18:57:22 +02:00
parent be5dd67875
commit 029e40b836

View file

@ -1,8 +1,8 @@
location <%= @location %> {
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each_line do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
stub_status on;
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each_line do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
}