try and tweak haproxy to balance by source
This commit is contained in:
parent
998c8482f9
commit
ce7555b642
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ listen ipa01 0.0.0.0:10061
|
||||||
|
|
||||||
{% if env == "production" and 'phx2' in inventory_hostname %}
|
{% if env == "production" and 'phx2' in inventory_hostname %}
|
||||||
listen kojipkgs 0.0.0.0:10062
|
listen kojipkgs 0.0.0.0:10062
|
||||||
balance hdr(appserver)
|
balance source
|
||||||
server kojipkgs01.phx2.fedoraproject.org kojipkgs01.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
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
|
server kojipkgs02.phx2.fedoraproject.org kojipkgs02.phx2.fedoraproject.org:80 check inter 10s rise 1 fall 2
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue