Browse Source

return the newline between cfg lines

Sander Hoentjen 11 years ago
parent
commit
3630b74c72
1 changed files with 4 additions and 2 deletions
  1. 4 2
      templates/vhost/vhost_location_proxy.erb

+ 4 - 2
templates/vhost/vhost_location_proxy.erb

@@ -1,8 +1,10 @@
   location <%= location %> {
 <% if @location_cfg_prepend -%><% location_cfg_prepend.each do |key,value| -%>
-    <%= key %>         <%= value %>;<% end -%><% end -%>
+    <%= key %>         <%= value %>;
+<% end -%><% end -%>
     proxy_pass         <%= proxy %>;
     proxy_read_timeout <%= proxy_read_timeout %>;
 <% if @location_cfg_append -%><% location_cfg_append.each do |key,value| -%>
-    <%= key %>         <%= value %>;<% end -%><% end -%>
+    <%= key %>         <%= value %>;
+<% end -%><% end -%>
   }