Fix some Nextcloud issue with federation

This commit is contained in:
Jonathan Chan 2025-02-23 17:21:19 +01:00
parent 954303cf90
commit 465da8ba5f
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@ server {
location = /.well-known/caldav { location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav; return 301 $scheme://$host/remote.php/dav;
} }
location = /.well-known/webfinger {
return 301 $scheme://$host/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $scheme://$host/index.php/.well-known/nodeinfo;
}
include mime.types;
listen 443 ssl; # managed by Certbot listen 443 ssl; # managed by Certbot
listen [::]:443 ssl; listen [::]:443 ssl;