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

@ -504,3 +504,12 @@
destname: faf destname: faf
proxyurl: http://localhost:10050 proxyurl: http://localhost:10050
when: env == "staging" when: env == "staging"
- role: httpd/reverseproxy
website: apps.fedoraproject.org
destname: pps
remotepath: /pps
localpath: /pps
proxyurl: http://localhost:10051
when: env == "staging"

View file

@ -308,6 +308,13 @@ listen faf 0.0.0.0:10050
server faf01 faf01:80 check inter 10s rise 1 fall 2 server faf01 faf01:80 check inter 10s rise 1 fall 2
{% endif %} {% 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 # 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. # entries. This proxy also doesn't use the http mode like the others.
# stunnel should be sitting on port 9939 (public) and redirecting # stunnel should be sitting on port 9939 (public) and redirecting