X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/37172332242967cf211f16c179c2a69135aa9b52..fecf6724bb026a4891a89c33356870f83bcd76ee:/roles/apache/templates/000-default.conf
diff --git a/roles/apache/templates/000-default.conf b/roles/apache/templates/000-default.conf
index 8865a0a..23f6f5e 100644
--- a/roles/apache/templates/000-default.conf
+++ b/roles/apache/templates/000-default.conf
@@ -2,7 +2,9 @@
Redirect temp / https://{{ apache.default_host }}/
+{% if 'letsencrypt' in group_names %}
Use SSL letsencrypt/live
Redirect temp / https://{{ apache.default_host }}/
+{% endif %}