stop using virthosts for qadevel static files
This commit is contained in:
parent
2377467d3a
commit
9e7af9bdad
2 changed files with 9 additions and 20 deletions
|
@ -1,22 +1,8 @@
|
||||||
# this is meant for proxied stuff only, hence the lack of ssl
|
# this is meant for proxied stuff only, hence the lack of ssl
|
||||||
|
|
||||||
<VirtualHost *:80>
|
Alias {{ item.document_root }} /{{ item.name }}
|
||||||
# Change this to the domain which points to your host.
|
|
||||||
ServerName {{ 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 }}">
|
<Directory "{{ item.document_root }}">
|
||||||
Options Indexes FollowSymLinks
|
Options Indexes FollowSymLinks
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Location "/">
|
|
||||||
Options +Indexes
|
|
||||||
DirectoryIndex default.html
|
|
||||||
</Location>
|
|
||||||
|
|
||||||
</VirtualHost>
|
|
||||||
|
|
|
@ -78,8 +78,11 @@ tcp_ports: [ 80, 222, 443, "{{ buildslave_port }}", 3306 ]
|
||||||
|
|
||||||
# static sites
|
# static sites
|
||||||
static_sites:
|
static_sites:
|
||||||
- name: docs.{{ inventory_hostname }}
|
- name: docs
|
||||||
document_root: /srv/content/docs
|
document_root: /srv/content/docs
|
||||||
|
- name: releases
|
||||||
|
document_root: /srv/content/releases
|
||||||
|
|
||||||
sslonly: false
|
sslonly: false
|
||||||
|
|
||||||
freezes: false
|
freezes: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue