From 1b1c9c496881abed9f10a50b3cb16d77e7510773 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 12 Jan 2018 20:05:41 +0000 Subject: [PATCH] add back in containers --- roles/haproxy/templates/haproxy.cfg | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 37a42259bf..762e3d9d71 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -49,6 +49,18 @@ backend fp-wiki-backend {% endif %} option httpchk GET /wiki/Main_Page +frontend mirror-lists-frontend + bind 0.0.0.0:10002 + default_backend mirror-lists-backend + +backend mirror-lists-backend + balance hdr(appserver) + timeout connect 30s + server mirrorlist-local1 localhost:18081 check inter 1s rise 2 fall 3 weight 100 + server mirrorlist-local2 localhost:18082 check inter 1s rise 2 fall 3 weight 100 + option httpchk GET /mirrorlist + option allbackups + frontend pkgdb-frontend bind 0.0.0.0:10003 default_backend pkgdb-backend