diff options
-rw-r--r-- | files/httpd/qadevel-virtualhost.conf.j2 | 24 | ||||
-rw-r--r-- | inventory/group_vars/qa-stg | 5 |
2 files changed, 9 insertions, 20 deletions
diff --git a/files/httpd/qadevel-virtualhost.conf.j2 b/files/httpd/qadevel-virtualhost.conf.j2 index cca7a7afa..bfa601cb8 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 -<VirtualHost *:80> - # 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 - - <Directory "{{ item.document_root }}"> - Options Indexes FollowSymLinks - Require all granted - </Directory> - - <Location "/"> - Options +Indexes - DirectoryIndex default.html - </Location> - -</VirtualHost> +<Directory "{{ item.document_root }}"> + Options Indexes FollowSymLinks + Require all granted +</Directory> diff --git a/inventory/group_vars/qa-stg b/inventory/group_vars/qa-stg index 6921e8081..e2679325a 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 |