From 6e7844874813590a44d8a0ad9b88903caf47e415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 9 Apr 2014 13:13:21 +0200 Subject: [PATCH] update haproxy template to match our number of instances --- templates/haproxy.conf.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/haproxy.conf.in b/templates/haproxy.conf.in index 6898587..6de9c9d 100644 --- a/templates/haproxy.conf.in +++ b/templates/haproxy.conf.in @@ -51,3 +51,15 @@ backend zope server plone0101 ${hosts:instance1}:${ports:instance1} cookie p0101 maxconn 2 check inter 2000 rise 2 fall 5 server plone0102 ${instance2:http-address} cookie p0102 maxconn 2 check inter 2000 rise 2 fall 5 server plone0102 ${instance3:http-address} cookie p0103 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0103 ${instance4:http-address} cookie p0104 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0104 ${instance5:http-address} cookie p0105 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0105 ${instance6:http-address} cookie p0106 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0106 ${instance7:http-address} cookie p0107 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0107 ${instance8:http-address} cookie p0108 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0108 ${instance9:http-address} cookie p0109 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0109 ${instance10:http-address} cookie p0110 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0110 ${instance11:http-address} cookie p0111 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0111 ${instance12:http-address} cookie p0112 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0112 ${instance13:http-address} cookie p0113 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0113 ${instance14:http-address} cookie p0114 maxconn 2 check inter 2000 rise 2 fall 5 + server plone0114 ${instance15:http-address} cookie p0115 maxconn 2 check inter 2000 rise 2 fall 5