Add proxy config for stg only
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
parent
6fddd1c6ef
commit
1c43c268bc
3 changed files with 21 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue