WishMeLz

生活其实很有趣

Nextcloud 登录报错 The polling URL does not start with HTTPS despite the login URL started withHTTPS.

The polling URL does not start with HTTPS despite the login URL started withHTTPS. Login will not be possible because this might be a security issue. Pleasecontact your administrator.

尽管登录URL以HTTPS开头,但投票URL并不以HTTPS开头。由于这可能涉及安全问题,可能无法进行登录。请与您的管理员联系。

尽管登录URL已通过HTTPS加密,但相关的URL未使用HTTPS协议,这可能引发安全风险,导致登录功能受影响。

需要在配置文件中补充以下两项配置以确保所有URL统一通过HTTPS访问:

'overwrite.cli.url' => 'https://nc.xxx.cn',  // 将域名替换为实际使用的HTTPS域名
'overwriteprotocol' => 'https',  // 明确指定协议为HTTPS

请输入图片描述