Merge pull request #7799 from nextcloud/rebase/7129/master

Add rewrites for nodeinfo and webfinger services.
This commit is contained in:
Joas Schilling
2021-12-08 10:46:55 +01:00
committed by GitHub

View File

@@ -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.