Setup proxy stuff for openqa

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2015-11-13 17:37:34 +00:00
parent e12907b576
commit 5359b5b363
3 changed files with 19 additions and 0 deletions

View file

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

View file

@ -494,6 +494,12 @@
server_aliases: [qa.stg.fedoraproject.org]
sslonly: true
- role: httpd/website
name: openqa.fedoraproject.org
cert_name: "{{wildcard_cert_name}}"
server_aliases: [openqa.stg.fedoraproject.org]
sslonly: true
- role: httpd/website
name: redirect.fedoraproject.org
server_aliases: [redirect.stg.fedoraproject.org]

View file

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