return the newline between cfg lines
This commit is contained in:
parent
8859c4e8db
commit
3630b74c72
1 changed files with 4 additions and 2 deletions
|
@ -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 -%>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue