blob: e2dc19f35f43971fbc404177d7ff76e2d90a3221 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<VirtualHost *:80>
ServerName {{ item.domain }}
{% if item.alias is defined %}
ServerAlias {{ item.alias }}
{% endif %}
ServerAdmin {{ item.ownermail }}
DocumentRoot /srv/http/{{ item.domain }}
ErrorLog /var/log/apache2/{{ item.domain }}/error.log
CustomLog /var/log/apache2/{{ item.domain }}/access.log combined
<Directory /srv/http/{{ item.domain }}>
Options +SymlinksIfOwnerMatch +Indexes
AllowOverride AuthConfig
Require all granted
</Directory>
</VirtualHost>
|