NextCloud提示:您的网页服务器未正确设置以解析“/.well-known/webfinger”。

533 浏览技术资料
0

您的网页服务器未正确设置以解析“/.well-known/webfinger”。更多信息请参见文档↗。
您的网页服务器未正确设置以解析“/.well-known/nodeinfo”。更多信息请参见文档↗。

在Nginx配置文件中加入:

location ^~ /.well-known {
        # The rules in this block are an adaptation of the rules
        # in `.htaccess` that concern `/.well-known`.
        location = /.well-known/carddav { return 301 /remote.php/dav/; }
        location = /.well-known/caldav  { return 301 /remote.php/dav/; }
        location /.well-known/acme-challenge    { try_files $uri $uri/ =404; }
        location /.well-known/pki-validation    { try_files $uri $uri/ =404; }
        # Let Nextcloud's API for `/.well-known` URIs handle all other
        # requests by passing them to the front-end controller.
        return 301 /index.php$request_uri;
    }

分享到:
Qi 编辑问题 2023年1月12日
添加评论
写下您的答案。

Login

Welcome! Login in to your account

Remember me Lost your password?

Don't have account. Register

Lost Password

Register