X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/d69da4e51b13227263fb0f5588d65e92e4acb2d1..9efda4fb2ebf1f34302f5f9bc1174152b6e458c7:/roles/apache/templates/000-default.conf?ds=sidebyside
diff --git a/roles/apache/templates/000-default.conf b/roles/apache/templates/000-default.conf
index 0d68ad6..5e02d0b 100644
--- a/roles/apache/templates/000-default.conf
+++ b/roles/apache/templates/000-default.conf
@@ -1,14 +1,8 @@
-# redirect all undefined virtual hosts to {{ apache.default_host }}
+# Default host: serve nothing.
-{% if 'letsencrypt' in group_names %}
- Redirect temp / https://{{ apache.default_host }}/
-{% else %}
- Redirect temp / http://{{ apache.default_host }}/
-{% endif %}
{% if 'letsencrypt' in group_names %}
Use SSL letsencrypt/live
- Redirect temp / https://{{ apache.default_host }}/
{% endif %}