From 570ddfdcea5f8dd20773be62f6c30d4eb11fe3f1 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Mon, 5 Mar 2018 15:01:45 +0000 Subject: [PATCH] bugfix: did redirect acme challange request to https --- templates/vhost.conf.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index d91d669..b2d53a5 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -55,6 +55,8 @@ server { root /var/www/default; } - return 301 https://$host$request_uri; + location / { + return 301 https://$host$request_uri; + } }