summaryrefslogtreecommitdiffstats
path: root/roles/haproxy/templates
diff options
context:
space:
mode:
authorKevin Fenzi <kevin@scrye.com>2017-01-17 22:29:02 +0000
committerKevin Fenzi <kevin@scrye.com>2017-01-17 22:29:27 +0000
commit7f251f982a667e145a0dee436de1a58c9a7a3761 (patch)
treef54258bed2ac5d1b5078f5caba7f26941bd8a05e /roles/haproxy/templates
parentef75f64ce6c797903593572563b5418f10f62a76 (diff)
downloadansible-7f251f982a667e145a0dee436de1a58c9a7a3761.tar.gz
ansible-7f251f982a667e145a0dee436de1a58c9a7a3761.tar.xz
ansible-7f251f982a667e145a0dee436de1a58c9a7a3761.zip
ok, lets go back to this balancer
Diffstat (limited to 'roles/haproxy/templates')
-rw-r--r--roles/haproxy/templates/haproxy.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg
index c7783ed0e..35e08448b 100644
--- a/roles/haproxy/templates/haproxy.cfg
+++ b/roles/haproxy/templates/haproxy.cfg
@@ -407,7 +407,7 @@ listen ipa01 0.0.0.0:10061
{% if env == "production" and 'phx2' in inventory_hostname %}
listen kojipkgs 0.0.0.0:10062
- balance hdr(AppServer)
+ balance uri whole
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 /