Skip to content

How to Solve the 404 Error of.well-known/webfinger in Nextcloud 30.0.4? (NGINX) #50150

@vikenlau

Description

@vikenlau

I'm using Nextcloud version 30.0.4. However, in the "Overview" -> "Security and Setup Warnings" section, it shows "Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/webfinger. For more details see the documentation ↗." I've already set up the following configuration in my web server (nginx):

location = /.well-known/webfinger { return 301 $scheme://$host:$server_port/index.php/.well-known/webfinger; }

I've accessed $scheme://$host:$server_port/.well-known/webfinger(Note: I'm using the non-standard port 443) and the redirection is $scheme://$host:$server_port/index.php/.well-known/webfinger , but a 404 error is displayed and the error prompt keeps showing up. How can I deal with this?

Nginx 1.24.0
PHP 8.3.14
MySQL 8.4.0

If you have any ideas, please let me know. Thank you very much for your help. I've been bothered by this problem for several months. Thanks again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions