Merge pull request #307 from ChartBoost/resolverfix
allow resolvers in non-ssl vhosts
This commit is contained in:
commit
4a5ed9ac7a
1 changed files with 3 additions and 0 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Reference in a new issue