X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/37172332242967cf211f16c179c2a69135aa9b52..a8fa12b9e6826ad3d1abf3a8326508ef7e94f17a:/roles/apache/templates/000-default.conf
diff --git a/roles/apache/templates/000-default.conf b/roles/apache/templates/000-default.conf
index 8865a0a..5e02d0b 100644
--- a/roles/apache/templates/000-default.conf
+++ b/roles/apache/templates/000-default.conf
@@ -1,8 +1,8 @@
-# redirect all undefined virtual hosts to {{ apache.default_host }}
+# Default host: serve nothing.
- Redirect temp / https://{{ apache.default_host }}/
+{% if 'letsencrypt' in group_names %}
Use SSL letsencrypt/live
- Redirect temp / https://{{ apache.default_host }}/
+{% endif %}