In production, its pkgs02
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
a83df14f98
commit
38ca639db5
1 changed files with 4 additions and 0 deletions
|
@ -371,7 +371,11 @@ listen koji 0.0.0.0:10056
|
||||||
# Only enable this on proxy01 or proxy10
|
# Only enable this on proxy01 or proxy10
|
||||||
listen src 0.0.0.0:10057
|
listen src 0.0.0.0:10057
|
||||||
balance hdr(appserver)
|
balance hdr(appserver)
|
||||||
|
{% if env == "staging" %}
|
||||||
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
server pkgs01 pkgs01:80 check inter 10s rise 1 fall 2
|
||||||
|
{% else %}
|
||||||
|
server pkgs02 pkgs02:80 check inter 10s rise 1 fall 2
|
||||||
|
{% endif %}
|
||||||
option httpchk GET /
|
option httpchk GET /
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue