diff --git a/templates/default-vhost.j2 b/templates/default-vhost.j2 index 7b56dbe..4ff6d4c 100644 --- a/templates/default-vhost.j2 +++ b/templates/default-vhost.j2 @@ -27,7 +27,7 @@ # redirect to https if file could not be found in /var/www/default/ RewriteEngine On RewriteRule ^\/\.well-known\/acme-challenge\/ - [L] - RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] + RewriteRule (.*) https://%{SERVER_NAME}$1 [R,L]