-# redirect all undefined virtual hosts to {{ apache.default_host }}
+# Default host: serve nothing.
<VirtualHost *:80>
- Redirect temp / https://{{ apache.default_host }}/
</VirtualHost>
+{% if 'letsencrypt' in group_names %}
<VirtualHost *:443>
Use SSL letsencrypt/live
- Redirect temp / https://{{ apache.default_host }}/
</VirtualHost>
+{% endif %}