diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index a253e3851b..cfab5738a7 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -270,6 +270,11 @@ destname: bodhi proxyurl: http://localhost:10010 + - role: httpd/reverseproxy + website: hubs.fedoraproject.org + destname: hubs + proxyurl: http://localhost:10068 + - role: httpd/reverseproxy website: admin.fedoraproject.org destname: mirrormanager diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index 2cf47850df..8053927e54 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -256,6 +256,12 @@ server_aliases: [bodhi.stg.fedoraproject.org] cert_name: "{{wildcard_cert_name}}" + - role: httpd/website + name: hubs.fedoraproject.org + sslonly: true + server_aliases: [hubs.stg.fedoraproject.org] + cert_name: "{{wildcard_cert_name}}" + - role: httpd/website name: flocktofedora.org server_aliases: diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index f614acc9e2..49d0d7f255 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -239,6 +239,10 @@ backend fedocal-backend {% endif %} option httpchk GET /calendar +frontend hubs-frontend + bind 0.0.0.0:10068 + default_backend hubs-backend + backend hubs-backend balance hdr(appserver) {% if env != "production" %}