# redirect all undefined virtual hosts to {{ apache.default_host }}
{% 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 %}