Skip to content

Commit 3bfde49

Browse files
committed
Merge pull request #6 from rayl/master
Support repeated application options by passing an array of values
2 parents 20ba5cd + 3aa2455 commit 3bfde49

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

templates/uwsgi_app.ini.erb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ gid = <%= @gid %>
99
<%
1010
if @application_options
1111
@application_options.sort.each do |key, value|
12+
if value.is_a? Array
13+
value.each do |v|
14+
-%>
15+
<%= key %> = <%= v%>
16+
<%
17+
end
18+
else
1219
-%>
1320
<%= key %> = <%= value%>
1421
<%
22+
end
1523
end
1624
end
1725

0 commit comments

Comments
 (0)