Load balance based on the appserver header.
This commit is contained in:
parent
09aa0bc052
commit
b3849bf68f
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 %}
|
||||
listen kojipkgs 0.0.0.0:10062
|
||||
balance roundrobin
|
||||
balance hdr(AppServer)
|
||||
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 /
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue