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 Options +SymlinksIfOwnerMatch +Indexes Require all granted