diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index 92e21acc0b..f4411662fe 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -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 diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index a1793cdc55..6ae1750c3b 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -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] diff --git a/roles/haproxy/templates/haproxy.cfg.stg b/roles/haproxy/templates/haproxy.cfg.stg index 464ec16cb0..f73ba4d2c2 100644 --- a/roles/haproxy/templates/haproxy.cfg.stg +++ b/roles/haproxy/templates/haproxy.cfg.stg @@ -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