Explorar el Código

return the newline between cfg lines

Sander Hoentjen hace 11 años
padre
commit
3630b74c72
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  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 -%>
   }