Skip to content

Commit

Permalink
Fix stub_status location so it has line breaks.
Browse files Browse the repository at this point in the history
  • Loading branch information
vrillusions committed Sep 14, 2013
1 parent f91e052 commit 5e59a92
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/vhost/vhost_location_stub_status.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
location <%= @location %> {
<% if @location_cfg_prepend -%><% @location_cfg_prepend.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
stub_status on;
<% if @location_cfg_append -%><% @location_cfg_append.sort_by {|k,v| k}.each do |key,value| -%>
<%= key %> <%= value %>;<% end -%><% end -%>
<%= key %> <%= value %>;
<% end -%><% end -%>
}

0 comments on commit 5e59a92

Please sign in to comment.