mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
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>
This commit is contained in:
@@ -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]
|
||||
</IfModule>
|
||||
|
||||
Make sure to change /nextcloud to the actual subfolder your Nextcloud instance is running in.
|
||||
|
||||
Reference in New Issue
Block a user