From 527bd42b27d122adc36b08207c313cd123451779 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Tue, 20 Aug 2019 09:37:48 +0000 Subject: [PATCH] no slash additional / in redirects --- templates/default-vhost.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]