Sha256: 7c71fcee050f05bb0080f91856ba632d05ca453d6d6115a7034544a087744f91

Contents?: true

Size: 245 Bytes

Versions: 187

Compression:

Stored size: 245 Bytes

Contents

<%
  @path = "/etc/nginx/rubber/tools/haproxy.conf"
%>

<% rubber_instances.for_role('haproxy').each do |ic| %>
  location /haproxy_<%= ic.name %>
  {
    proxy_pass http://<%= ic.full_name %>:<%= rubber_env.haproxy_admin_port %>;
  }
<% end %>

Version data entries

187 entries across 147 versions & 7 rubygems

Version Path
axtro-rubber-1.0.2.6 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
axtro-rubber-1.0.2.5 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
axtro-rubber-1.0.2.4 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
axtro-rubber-1.0.2.3 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
axtro-rubber-1.0.2.2 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
axtro-rubber-1.0.2.1 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf
rubber-1.0.2 generators/vulcanize/templates/haproxy/config/rubber/role/web_tools/haproxy-nginx.conf