diff --git a/templates/vhost.conf b/templates/vhost.conf index 2e55ef0..b7d5d88 100644 --- a/templates/vhost.conf +++ b/templates/vhost.conf @@ -8,7 +8,9 @@ RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/ RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} + {% if use_letsencrypt %} Include {{ _vhost_confdir }}/letsencrypt.conf + {% endif %} {% else %} Include {{ _vhost_confdir }}/*conf {% endif %}