stg proxy config for statscache frontend.

This commit is contained in:
Ralph Bean 2015-11-01 21:41:11 +00:00
parent afd8f19856
commit d6b0908bcf
2 changed files with 14 additions and 0 deletions

View file

@ -267,6 +267,14 @@
remotepath: /autocloud
proxyurl: http://localhost:10041
- role: httpd/reverseproxy
website: apps.fedoraproject.org
destname: statscache
localpath: /statscache
remotepath: /statscache
proxyurl: http://localhost:10042
when: env == "staging"
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: yk-val

View file

@ -185,6 +185,12 @@ listen autocloud 0.0.0.0:10041
server autocloud-web02 autocloud-web02:80 check inter 10s rise 1 fall 2
option httpchk GET /autocloud/
listen statscache 0.0.0.0:10042
balance hdr(appserver)
server statscache-web01 statscache-web01:80 check inter 10s rise 1 fall 2
server statscache-web02 statscache-web02:80 check inter 10s rise 1 fall 2
option httpchk GET /statscache/
# 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