mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
fixing virthost config to work better for qa-stg01
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
# 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 }}
|
||||
# Change this to the domain which points to your host.
|
||||
ServerName {{ item.name }}
|
||||
|
||||
DocumentRoot {{ item.document_root }}
|
||||
DocumentRoot {{ item.document_root }}
|
||||
|
||||
<Directory "{{ item.document_root }}">
|
||||
Options Indexes FollowSymLinks
|
||||
Require all granted
|
||||
</Directory>
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user