Add new .well-known redirects

This commit is contained in:
Avi Alkalay 2022-09-23 06:06:09 -03:00 committed by Maxwell G
parent 8ea470cd32
commit 9e3b394cdc
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -16,9 +16,11 @@ Alias /nextcloud /usr/share/nextcloud
# Allows compliant CalDAV / CardDAV clients to be configured using only # Allows compliant CalDAV / CardDAV clients to be configured using only
# the domain name. For more details see # http://tools.ietf.org/html/rfc6764 # the domain name. For more details see # http://tools.ietf.org/html/rfc6764
Redirect 301 /.well-known/carddav /nextcloud/remote.php/carddav Redirect 301 /.well-known/carddav /nextcloud/remote.php/dav
Redirect 301 /.well-known/caldav /nextcloud/remote.php/caldav Redirect 301 /.well-known/caldav /nextcloud/remote.php/dav
Redirect 301 /.well-known/webdav /nextcloud/remote.php/webdav Redirect 301 /.well-known/webdav /nextcloud/remote.php/dav
Redirect 301 /.well-known/webfinger /nextcloud/index.php/.well-known/webfinger
Redirect 301 /.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo
<Directory /usr/share/nextcloud/> <Directory /usr/share/nextcloud/>
Include conf.d/nextcloud-auth-local.inc Include conf.d/nextcloud-auth-local.inc