From b62dd26d25f5a633bbe943f94dbf2bddcbf527c7 Mon Sep 17 00:00:00 2001 From: akhil Date: Fri, 19 Nov 2021 13:34:55 +0530 Subject: [PATCH] Added rules to nextcloud.conf to resolve webfinger and nodeinfo routes --- templates/nginx/sites-enabled/nextcloud.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/nginx/sites-enabled/nextcloud.conf b/templates/nginx/sites-enabled/nextcloud.conf index 1a8915e..5045add 100644 --- a/templates/nginx/sites-enabled/nextcloud.conf +++ b/templates/nginx/sites-enabled/nextcloud.conf @@ -43,6 +43,13 @@ server { return 301 $scheme://$host/remote.php/dav; } + location = /.well-known/webfinger { + return 301 $scheme://$host/index.php$uri; + } + location = /.well-known/nodeinfo { + return 301 $scheme://$host/index.php$uri; + } + client_max_body_size 4096M; fastcgi_buffers 64 4K; -- GitLab