Fix upstream_cfg_prepend loop to put every element on a dedicated line
This commit is contained in:
parent
59cf9148c2
commit
b17a8c2952
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
upstream <%= @name %> {
|
||||
<% if @upstream_cfg_prepend -%><% upstream_cfg_prepend.sort_by{|k,v| k}.each do |key,value| -%>
|
||||
<% if @upstream_cfg_prepend -%><% upstream_cfg_prepend.sort_by{|k,v| k}.each do |key,value| %>
|
||||
<%= key %> <%= value %>;<% end -%><% end -%>
|
||||
<% @members.each do |i| %>
|
||||
server <%= i %>;<% end %>
|
||||
|
|
Loading…
Reference in a new issue