From ce35996d4427623aaf782a5bcd7ff5f478346dfc Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Fri, 7 Jun 2024 12:31:49 +0200 Subject: [PATCH] Adding trailing slash https://docs.nextcloud.com/server/29/admin_manual/installation/nginx.html indicates there has to me one --- rootfs/etc/nginx/conf.d/default.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/nginx/conf.d/default.conf b/rootfs/etc/nginx/conf.d/default.conf index 0e0928f..a4f2944 100644 --- a/rootfs/etc/nginx/conf.d/default.conf +++ b/rootfs/etc/nginx/conf.d/default.conf @@ -30,8 +30,8 @@ server { } location ^~ /.well-known { - location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav; } - location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav; } + location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav/; } + location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav/; } location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; } try_files $uri $uri/ =404; }