Merge pull request #307 from ChartBoost/resolverfix

allow resolvers in non-ssl vhosts
This commit is contained in:
James Fryman 2014-05-08 07:37:41 -05:00
commit 4a5ed9ac7a

View file

@ -34,6 +34,9 @@ server {
<% if @passenger_cgi_param -%><% @passenger_cgi_param.keys.sort.each do |key| -%>
passenger_set_cgi_param <%= key %> <%= @passenger_cgi_param[key] %>;
<% end -%><% end -%>
<% if @resolver.count > 0 -%>
resolver <% Array(@resolver).each do |r| %> <%= r %><% end %>;
<% end -%>
<% @proxy_set_header.each do |header| -%>
proxy_set_header <%= header %>;
<% end -%>