diff --git a/www-create-site b/www-create-site index d41ce29..98c79d8 100755 --- a/www-create-site +++ b/www-create-site @@ -193,6 +193,7 @@ sub apache { $c .= " ErrorLog $logbase.notls.err.log\n". " CustomLog $logbase.notls.log detailed\n". " RewriteEngine On\n". + " RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/\n". " RewriteRule ^/(.*) https://%{HTTP_HOST}/\$1 [R,L]\n". "\n". "\n";