blob: 66abf1fa4e173b4cad09783c18499b96502bd137 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
listen <%= name %> <%= ipaddress %>:<%= Array(ports).join(",#{ipaddress}:") %>
<% options.sort.each do |key, val| -%>
<% if val.is_a?(Array) -%>
<% val.each do |item| -%>
<%= key %> <%= item %>
<% end -%>
<% else -%>
<%= key %> <%= val %>
<% end -%>
<% end -%>
|