diff --git a/templates/nginx/sites-enabled/nextcloud.conf b/templates/nginx/sites-enabled/nextcloud.conf index 1a8915e813ec989d1f3ecba3fb0867b83cede368..5045add3a6708cdbf9d5dbdd7e7da96dd9118a98 100644 --- a/templates/nginx/sites-enabled/nextcloud.conf +++ b/templates/nginx/sites-enabled/nextcloud.conf @@ -43,6 +43,13 @@ server { return 301 $scheme://$host/remote.php/dav; } + location = /.well-known/webfinger { + return 301 $scheme://$host/index.php$uri; + } + location = /.well-known/nodeinfo { + return 301 $scheme://$host/index.php$uri; + } + client_max_body_size 4096M; fastcgi_buffers 64 4K;