blob: 6afdd41fd61d8b9ad61b4cf3a3674b2113299878 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<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
Require all granted
</Directory>
</VirtualHost>
|