summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb
blob: a9bdb923574f5ed8f24a68bc916745a84c49a1ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

listen bigcouch-in
  mode http
  balance  roundrobin

  option httplog
  option dontlognull
  option tcplog

  bind localhost:4096
<% for port in @local_ports -%>
  server couchdb_<%=port%> localhost:<%=port%>
<% end -%>