diff --git a/templates/vhost/vhost_location_empty.erb b/templates/vhost/vhost_location_empty.erb index aea023c..bdec9fd 100644 --- a/templates/vhost/vhost_location_empty.erb +++ b/templates/vhost/vhost_location_empty.erb @@ -1,5 +1,5 @@ location <%= @location %> { -<% if @location_custom_cfg -%><% @location_custom_cfg.sort_by {|k,v| k}.each do |key,value| -%> +<% if @location_custom_cfg -%><% @location_custom_cfg.sort_by {|k,v| k}.each_line do |key,value| -%> <%= key %> <%= value %>; <% end -%><% end -%> }