From 143a5ee77de63835697048469c86c74d6d6e9e42 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 19 Feb 2018 10:25:38 +0100 Subject: [PATCH] Add haproxy config for hubs01 --- roles/haproxy/templates/haproxy.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 32f7aedd9d..f614acc9e2 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -239,6 +239,13 @@ backend fedocal-backend {% endif %} option httpchk GET /calendar +backend hubs-backend + balance hdr(appserver) +{% if env != "production" %} + server hubs01 hubs01:80 check inter 10s rise 1 fall 2 +{% endif %} + option httpchk GET / + # IMPORTANT: 10023-10026 will NOT work because of selinux policies frontend datagrepper-frontend