diff --git a/playbooks/include/proxies-reverseproxy.yml b/playbooks/include/proxies-reverseproxy.yml index fd0fe0d901..1a69143e60 100644 --- a/playbooks/include/proxies-reverseproxy.yml +++ b/playbooks/include/proxies-reverseproxy.yml @@ -127,6 +127,13 @@ keephost: true proxyurl: "{{ varnish_url }}" + - role: httpd/reverseproxy + website: awx.fedoraproject.org + destname: awx + remotepath: / + localpath: / + proxyurl: http://localhost:10069 + - role: httpd/reverseproxy website: admin.fedoraproject.org destname: totpcgiprovision diff --git a/playbooks/include/proxies-websites.yml b/playbooks/include/proxies-websites.yml index b546929342..6be607795b 100644 --- a/playbooks/include/proxies-websites.yml +++ b/playbooks/include/proxies-websites.yml @@ -475,6 +475,12 @@ sslonly: true cert_name: "{{wildcard_cert_name}}" + - role: httpd/website + name: awx.fedoraproject.org + sslonly: true + cert_name: "{{wildcard_cert_name}}" + + # # Make a website here so we can redirect it to paste.fedoraproject.org # diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index 16f12a93bc..7ca6600eda 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -236,6 +236,15 @@ backend hubs-backend {% endif %} option httpchk GET / +frontend awx-frontend + bind 0.0.0.0:10069 + default_backend awx-backend + +backend awx-backend + balance hdr(appserver) + server batcomputer01 batcomputer01:80 check inter 10s rise 1 fall 2 + option httpchk GET / + # IMPORTANT: 10023-10026 will NOT work because of selinux policies frontend datagrepper-frontend