Proxy configuration for ODCS in stg.

This commit is contained in:
Ralph Bean 2017-09-25 18:01:11 +00:00
parent ea37542807
commit f8d4b1e0f0
3 changed files with 22 additions and 0 deletions

View file

@ -442,6 +442,13 @@ listen os-nodes 0.0.0.0:10065
option httpchk GET /
http-check expect status 503
{% if env == "staging" %}
listen odcs 0.0.0.0:10066
balance hdr(appserver)
server odcs-frontend01 odcs-frontend01:80 check inter 20s rise 2 fall 3
server odcs-frontend02 odcs-frontend02:80 check inter 20s rise 2 fall 3
option httpchk GET /odcs/1/composes/
{% 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