Push mdapi in prod

This commit is contained in:
Pierre-Yves Chibon 2015-11-17 15:45:24 +01:00
parent e5bb66d76d
commit 9ec72a36a4
2 changed files with 12 additions and 0 deletions

View file

@ -268,6 +268,13 @@
proxyurl: http://localhost:10043
when: env == "staging"
- role: httpd/reverseproxy
website: apps.fedoraproject.org
destname: mdapi
remotepath: /mdapi
localpath: /mdapi
proxyurl: http://localhost:10043
- role: httpd/reverseproxy
website: openqa.fedoraproject.org
destname: openqa

View file

@ -212,6 +212,11 @@ listen statscache 0.0.0.0:10042
server statscache-web02 statscache-web02:80 check inter 10s rise 1 fall 2
option httpchk GET /statscache/
listen mdapi 0.0.0.0:10043
balance hdr(appserver)
server mdapi01 mdapi01:80 check inter 10s rise 1 fall 2
option httpchk GET /mdapi
# 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