ServerName {{ item.name }} ServerAlias www.{{ item.name }} Redirect temp / https://www.{{ item.name }}/ ServerName {{ item.name }} Redirect temp / https://www.{{ item.name }}/ ServerAlias www.{{ item.name }} SSLEngine On DocumentRoot "{{ item.doc_root }}" DirectoryIndex index.html Options -Indexes HostnameLookups Off php_admin_flag engine On ErrorDocument 404 /404.html