summaryrefslogtreecommitdiff
path: root/puppet/modules/site_webapp/templates/haproxy_couchdb.cfg.erb
blob: f08161ee12771bb46ee5ada77900f9a3e1dc4ed6 (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 httpchk GET /
  option http-server-close
  
  bind localhost:4096
<% for port in @local_ports -%>
  server couchdb_<%=port%> localhost:<%=port%> check inter 3000 fastinter 1000 downinter 1000 rise 2 fall 1
<% end -%>