修复 Nextcloud 的 .well-known 检查失败问题(Apache + 反向代理)
在部署 Nextcloud 时,管理后台有时会提示如下错误: Could not check that your web server serves .well-known correctly.Please check manually. To allow this check to run you have to make sure that your Web server can connect to itself… 这类警告常见于使用 HTTPS 的场景,尤其是通过反向代理(如 Nginx)为 Apache 后端提供 TLS 加密时。其根本原因多半在于 .well-known 路径未正确配置,或其返回了错误的协议(HTTP 而非 HTTPS)。 错误表现 使用 curl 测试发现: …