stop using virthosts for qadevel static files

This commit is contained in:
Tim Flink 2016-04-07 15:00:52 +00:00
parent 2377467d3a
commit 9e7af9bdad
2 changed files with 9 additions and 20 deletions

View file

@ -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>

View file

@ -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