fixing virthost config to work better for qa-stg01
This commit is contained in:
parent
4dd019ffb9
commit
19fc0052b1
1 changed files with 15 additions and 7 deletions
|
@ -1,14 +1,22 @@
|
||||||
# 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>
|
<VirtualHost *:80>
|
||||||
# Change this to the domain which points to your host.
|
# Change this to the domain which points to your host.
|
||||||
ServerName {{ item.name }}
|
ServerName {{ item.name }}
|
||||||
|
|
||||||
DocumentRoot {{ item.document_root }}
|
DocumentRoot {{ item.document_root }}
|
||||||
|
|
||||||
<Directory "{{ item.document_root }}">
|
ErrorLog "/var/log/httpd/{{ item.name }}.error_log"
|
||||||
Options Indexes FollowSymLinks
|
CustomLog "/var/log/httpd/{{ item.name }}.access_log" common
|
||||||
Require all granted
|
|
||||||
</Directory>
|
<Directory "{{ item.document_root }}">
|
||||||
|
Options Indexes FollowSymLinks
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Location "/">
|
||||||
|
Options +Indexes
|
||||||
|
DirectoryIndex default.html
|
||||||
|
</Location>
|
||||||
|
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue