From b9dfe6900caee85cb35b4be427061df0676daa6a Mon Sep 17 00:00:00 2001 From: stephang <288494+stephang@users.noreply.github.com> Date: Sat, 11 Sep 2021 20:06:02 +0200 Subject: [PATCH] Add rewrites for nodeinfo and webfinger services. Add Apache rewrite rules for webfinger and nodeinfo in case NC is installed in a subdirectory. This fixes #6157. Signed-off-by: stephang <288494+stephang@users.noreply.github.com> --- admin_manual/issues/general_troubleshooting.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin_manual/issues/general_troubleshooting.rst b/admin_manual/issues/general_troubleshooting.rst index 48d77dbb0..b7c1ab12a 100644 --- a/admin_manual/issues/general_troubleshooting.rst +++ b/admin_manual/issues/general_troubleshooting.rst @@ -263,6 +263,8 @@ document root of your Web server and add the following lines:: RewriteEngine on RewriteRule ^\.well-known/carddav /nextcloud/remote.php/dav [R=301,L] RewriteRule ^\.well-known/caldav /nextcloud/remote.php/dav [R=301,L] + RewriteRule ^\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L] + RewriteRule ^\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L] Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.