From 0b012271ca0522cd1178b15f13767efaf41b8c9e Mon Sep 17 00:00:00 2001 From: nd Date: Sun, 18 Oct 2020 19:00:39 +0200 Subject: [PATCH] always redirect to https --- templates/nginx.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nginx.j2 b/templates/nginx.j2 index 3b78602..f196460 100644 --- a/templates/nginx.j2 +++ b/templates/nginx.j2 @@ -19,10 +19,10 @@ server { allow all; } location = /.well-known/carddav { - return 301 $scheme://$host/remote.php/dav; + return 301 https://$host/remote.php/dav; } location = /.well-known/caldav { - return 301 $scheme://$host/remote.php/dav; + return 301 https://$host/remote.php/dav; } location / {