Add proxy config for stg only

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2016-09-06 04:54:06 +00:00
parent 6fddd1c6ef
commit 1c43c268bc
3 changed files with 21 additions and 0 deletions

View file

@ -341,6 +341,14 @@ listen docker-candidate-registry 0.0.0.0:10054
balance hdr(appserver)
server docker-candidate-registry01 docker-candidate-registry01:5000 check inter 10s rise 1 fall 2
{% if env == "staging" %}
listen modernpaste 0.0.0.0:10055
balance hdr(appserver)
server modernpaste01 modernpaste01:80 check inter 10s rise 1 fall 2
option httpchk GET /
{% 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.