Merge pull request #7800 from nextcloud/backport/7799/stable23

[stable23] Add rewrites for nodeinfo and webfinger services.
This commit is contained in:
Christoph Wurst 2021-12-09 15:55:00 +01:00 committed by GitHub
commit ffb4961d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.