Nextcloud多次无效登录尝试/登录缓慢问题解决方法

Linux2022-08-30
Nextcloud多次无效登录尝试/登录缓慢问题解决方法-下一朵云

问题描述:

1.报错“我们检测到您的IP进行了多次无效登录尝试。因此,你的下一次登录最长会延迟30秒。”

Nextcloud多次无效登录尝试/登录缓慢问题解决方法-下一朵云
图1 多次无效登录尝试

2.单击登录按钮后等待时间较长才载入主页面

解决办法:

其实造成这个问题的原因是因为nextcloud本身自带的防止暴力破解密码的策略造成的,如下为开发文档相关内容

'auth.bruteforce.protection.enabled' => true,

Whether the bruteforce protection shipped with Nextcloud should be enabled or not.
Disabling this is discouraged for security reasons.
Defaults to true

1.打开config.php文件找到 'auth.bruteforce.protection.enabled' => true,这一行,将true修改为false

2.如config.php配置文件无此行,则添加一行,如下

'auth.bruteforce.protection.enabled' => false,
版权声明:本文为下一朵云发布文章,转载请附上原文出处链接和本声明。
本文链接:https://www.orcy.net.cn/1553.html

​ 广告:HCIE-Security认证课程辅导资料(付费)

暂无评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注