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 / {