Skip to content

Commit

Permalink
Add rewrites for nodeinfo and webfinger services.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stephang authored and backportbot[bot] committed Dec 8, 2021
1 parent 1d1ce89 commit dd1cd81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin_manual/issues/general_troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,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]
</IfModule>

Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.
Expand Down

0 comments on commit dd1cd81

Please sign in to comment.