Sha256: a376862a227b0aa5e535d197aeda5c5ad22bc1d33582ce76e014c8b98c9727a3
Contents?: true
Size: 742 Bytes
Versions: 15
Compression:
Stored size: 742 Bytes
Contents
<% @path = "/etc/haproxy/haproxy.cfg" @additive = ["# start haproxy passenger", "# end haproxy passenger"] %> <% backend_hosts = rubber_instances.for_role('passenger').collect { |i| i.name } %> listen passenger_proxy 0.0.0.0:<%= rubber_env.web_port %> option forwardfor <% backend_hosts.each do |server| %> server <%= server %> <%= server %>:<%= rubber_env.passenger_listen_port %> maxconn <%= rubber_env.max_app_connections %> check <% end %> listen passenger_proxy 0.0.0.0:<%= rubber_env.web_ssl_port %> mode tcp option forwardfor <% backend_hosts.each do |server| %> server <%= server %> <%= server %>:<%= rubber_env.passenger_listen_ssl_port %> maxconn <%= rubber_env.max_app_connections %> check <% end %>
Version data entries
15 entries across 15 versions & 3 rubygems