Point haproxy at koschei-web in stg

This commit is contained in:
Michael Simacek 2016-04-15 01:21:08 +02:00
parent 73c36f509a
commit b5d33a6199

View file

@ -251,7 +251,11 @@ listen kerneltest 0.0.0.0:10038
listen koschei 0.0.0.0:10040
balance hdr(appserver)
{% if env == "stg" %}
server koschei-web01 koschei-web01:80 check inter 10s rise 1 fall 2
{% else %}
server koschei01 koschei01:80 check inter 10s rise 1 fall 2
{% endif %}
option httpchk GET /koschei/
listen autocloud 0.0.0.0:10041