diff --git a/files/httpd/qadevel-virtualhost.conf.j2 b/files/httpd/qadevel-virtualhost.conf.j2 index cca7a7afa2..bfa601cb84 100644 --- a/files/httpd/qadevel-virtualhost.conf.j2 +++ b/files/httpd/qadevel-virtualhost.conf.j2 @@ -1,22 +1,8 @@ # this is meant for proxied stuff only, hence the lack of ssl - - # Change this to the domain which points to your host. - ServerName {{ item.name }} +Alias {{ item.document_root }} /{{ item.name }} - DocumentRoot {{ item.document_root }} - - ErrorLog "/var/log/httpd/{{ item.name }}.error_log" - CustomLog "/var/log/httpd/{{ item.name }}.access_log" common - - - Options Indexes FollowSymLinks - Require all granted - - - - Options +Indexes - DirectoryIndex default.html - - - + + Options Indexes FollowSymLinks + Require all granted + diff --git a/inventory/group_vars/qa-stg b/inventory/group_vars/qa-stg index 6921e8081c..e2679325a1 100644 --- a/inventory/group_vars/qa-stg +++ b/inventory/group_vars/qa-stg @@ -78,8 +78,11 @@ tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 3306 ] # static sites static_sites: - - name: docs.{{ inventory_hostname }} + - name: docs document_root: /srv/content/docs + - name: releases + document_root: /srv/content/releases + sslonly: false freezes: false