Staging haproxy/reverseproxy config for autocloud.

This commit is contained in:
Ralph Bean 2015-09-28 16:45:33 +00:00
parent 0817e7170d
commit 7fb516029c
2 changed files with 13 additions and 0 deletions

View file

@ -260,6 +260,13 @@
remotepath: /koschei
proxyurl: "{{ varnish_url }}"
- role: httpd/reverseproxy
website: apps.fedoraproject.org
destname: autocloud
localpath: /autocloud
remotepath: /
proxyurl: http://localhost:10041
- role: httpd/reverseproxy
website: admin.fedoraproject.org
destname: yk-val

View file

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