X-Git-Url: https://git.ralfj.de/ansible.git/blobdiff_plain/37172332242967cf211f16c179c2a69135aa9b52..e7f0dda5b871d22ea9925aeaf8a1513d9833128b:/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 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 %}