错误提示
在Nextcloud的安全与设置警告中,提示:
您的网页服务器未正确设置以解析“/.well-known/webfinger”
您的网页服务器未正确设置以解析“/.well-known/nodeinfo”
错误解决
如果是通过宝塔面板安装,可以在 网站 > 你的域名 > 伪静态
中加入
location = /.well-known/webfinger {
return 301 $scheme://$host:$server_port/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $scheme://$host:$server_port/index.php/.well-known/nodeinfo;
}
- 实例:
location = /.well-known/webfinger {
return 301 $scheme://$host:$server_port/index.php/.well-known/webfinger;
}
location = /.well-known/nodeinfo {
return 301 $scheme://$host:$server_port/index.php/.well-known/nodeinfo;
}
caldav 和 calddav问题解决
在同样的 伪静态
位置中加入
location = /.well-known/carddav {
return 301 $scheme://$host/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host/remote.php/dav;
}
https://www.hao0564.com/1958.html NextCloud Redis缓存配置与后台Cron服务优化
https://www.hao0564.com/1895.html 宝塔面板下安装nextcloud图文详解
https://www.hao0564.com/1927.html 宝塔面板部署Nextcloud后解决后台安全错误及设置警告
部分内容转载:https://blog.csdn.net/weixin_44473210/article/details/118655904