From b650e65f6600c9ecd07a7b0af88dec55215be20b Mon Sep 17 00:00:00 2001 From: hoellen Date: Wed, 3 Jun 2020 09:48:04 +0200 Subject: [PATCH] Revert nginx webdav config --- nextcloud/rootfs/nginx/sites-enabled/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/rootfs/nginx/sites-enabled/nginx.conf b/nextcloud/rootfs/nginx/sites-enabled/nginx.conf index 76f1798..4a6bdf7 100644 --- a/nextcloud/rootfs/nginx/sites-enabled/nginx.conf +++ b/nextcloud/rootfs/nginx/sites-enabled/nginx.conf @@ -26,11 +26,11 @@ server { rewrite ^/.well-known/webfinger /public.php?service=webfinger last; location = /.well-known/carddav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 https://$host/remote.php/dav; } location = /.well-known/caldav { - return 301 $scheme://$host:$server_port/remote.php/dav; + return 301 https://$host/remote.php/dav; } location / {