webfinger gives 404

Support intro

Nextcloud version (eg, 29.0.5): 30.0.0
Operating system and version (eg, Ubuntu 24.04): Debian Bookworm
Apache or nginx version (eg, Apache 2.4.25): nginx 1.22.1-9
PHP version (eg, 8.3): 8.3

The issue you are facing:

I installed a fresh nextcloud with postgresql, nginx and php 8.3.

And now nextcloud complains about misconfiguration for .well-known/webfinger.

I set the redirect in nginx and /index.php/.well-known/webfinger gives only a http 404.

nodeinfo is the same. But nextcloud does not complain about nodeinfo.

It seems, nodeinfo and webfinger is missing on Nextcloud 30.0.0

I’m running another nextcloud but version 29. And webfinger returns there
{"message":"webfinger not supported"} with http 200.
The same for nodeinfo.

Is this the first time you’ve seen this error? (Y/N): I don’t know. Think N

The output of your Nextcloud log in Admin > Logging:

Dein Webserver ist nicht ordnungsgemäß für die Auflösung von `.well-known`-URLs eingerichtet. Fehler bei: `/.well-known/webfinger` Weitere Informationen findest du in der Dokumentation ↗.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

PASTE HERE

I’m getting the same issue, except with apache. Everything was fine until the 30.0.1 update. I’ve tried every combination of tweaking the .htaccess for the redirect. I’ve included and excluded the /nextcloud subfolder. I’ve specified the complete URL. I’ve used both index.php/… and public.php=… . I’ve even tried just commenting out the lines entirely. They all result in 404 errors.

I don’t get such issues with carddav or caldav.

As far as I’m aware, I don’t even need these features, I just want the error to go away.