From 465da8ba5f07a93259045cf4a5479b45a2698185 Mon Sep 17 00:00:00 2001 From: Jonathan Chan Date: Sun, 23 Feb 2025 17:21:19 +0100 Subject: [PATCH] Fix some Nextcloud issue with federation --- next.ionathan.ch | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/next.ionathan.ch b/next.ionathan.ch index bea7c09..347ad78 100644 --- a/next.ionathan.ch +++ b/next.ionathan.ch @@ -14,6 +14,14 @@ server { location = /.well-known/caldav { return 301 $scheme://$host/remote.php/dav; } + location = /.well-known/webfinger { + return 301 $scheme://$host/index.php/.well-known/webfinger; + } + location = /.well-known/nodeinfo { + return 301 $scheme://$host/index.php/.well-known/nodeinfo; + } + + include mime.types; listen 443 ssl; # managed by Certbot listen [::]:443 ssl;