Add ++ service to the proxies

This commit is contained in:
Pierre-Yves Chibon 2016-07-27 15:19:24 +02:00
parent 50899a3dd0
commit 0279643468
2 changed files with 16 additions and 0 deletions

View file

@ -308,6 +308,13 @@ listen faf 0.0.0.0:10050
server faf01 faf01:80 check inter 10s rise 1 fall 2
{% endif %}
{% if env == "staging" %}
listen pps 0.0.0.0:10051
balance hdr(appserver)
server mdapi01 mdapi01:8080 check inter 10s rise 1 fall 2
option httpchk GET /pps
{% endif %}
# Apache doesn't handle the initial connection here like the other proxy
# entries. This proxy also doesn't use the http mode like the others.
# stunnel should be sitting on port 9939 (public) and redirecting