From 7d70382af97df42eb7ccee5e71ebd1fa100b789d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sun, 21 Jul 2019 18:28:38 +0000 Subject: [PATCH] haproxy: try and balance kojipkgs by source ip instead of appheader (which isn't even set here)? Signed-off-by: Kevin Fenzi --- roles/haproxy/templates/haproxy.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 0e68bace0e..8431e1d7f0 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -433,7 +433,7 @@ frontend kojipkgs-frontend default_backend kojipkgs-backend backend kojipkgs-backend - balance hdr(appserver) + balance source server kojipkgs01.phx2.fedoraproject.org kojipkgs01.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2 server kojipkgs02.phx2.fedoraproject.org kojipkgs02.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2 option httpchk GET /