Try and do fedora_nightlies Apache config without breaking openQA

Er, oops. This involves a hack, but at least it doesn't take the
openQA web UI offline.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-11-21 17:43:55 -08:00
parent cf49ccbbdc
commit 4851dc8d65
4 changed files with 5 additions and 4 deletions

View file

@ -1,3 +0,0 @@
<VirtualHost *:80>
Alias /nightlies.html /var/www/fedora_nightlies/nightlies.html
</VirtualHost>

View file

@ -0,0 +1 @@
Alias /nightlies.html "/var/www/fedora_nightlies/nightlies.html"

View file

@ -148,8 +148,10 @@
service: name=fm-consumer@fedora_nightlies enabled=yes state=started
when: not fedora_nightlies_disabled|bool
# This is also icky and assumes something is Including this config snippet,
# i.e. a Fedora infra-y openQA server. But making it better is a bit hard
- name: Set up Apache config
copy: src=fedora_nightlies.conf.httpd dest=/etc/httpd/conf.d/fedora_nightlies.conf owner=root group=root mode=0644
copy: src=openqa-extras-fedora_nightlies.inc.httpd dest=/etc/httpd/conf.d/openqa-extras-fedora_nightlies.inc owner=root group=root mode=0644
notify:
- reload httpd
tags:

View file

@ -7,4 +7,5 @@
ProxyPass /apache-status !
{% endif %}
Include conf.d/openqa-common.inc
Include conf.d/openqa-extras-*.inc
</VirtualHost>