diff --git a/files/httpd/qadevel-virtualhost.conf.j2 b/files/httpd/qadevel-virtualhost.conf.j2 index 5cc83630a6..cca7a7afa2 100644 --- a/files/httpd/qadevel-virtualhost.conf.j2 +++ b/files/httpd/qadevel-virtualhost.conf.j2 @@ -1,8 +1,22 @@ # this is meant for proxied stuff only, hence the lack of ssl -Alias /{{ item.name }} {{ item.document_root }} + + # Change this to the domain which points to your host. + ServerName {{ item.name }} - - Options Indexes FollowSymLinks - Require all granted - + 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 + + + diff --git a/inventory/group_vars/qa-stg b/inventory/group_vars/qa-stg index e2679325a1..aef2c24224 100644 --- a/inventory/group_vars/qa-stg +++ b/inventory/group_vars/qa-stg @@ -78,10 +78,8 @@ tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 3306 ] # static sites static_sites: - - name: docs - document_root: /srv/content/docs - - name: releases - document_root: /srv/content/releases + - name: {{ inventory_hostname }} + document_root: /srv/content sslonly: false