Sha256: d0d939570b3622a0cb06c9e44c9f42709dcc1f5a91f99a79fde9d84341f6aeb1
Contents?: true
Size: 702 Bytes
Versions: 14
Compression:
Stored size: 702 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 %> <% 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 <% 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
14 entries across 14 versions & 4 rubygems