Skip to content

能否支持根据cpu负载来开关验证码(或其他cc防御等)? #124

@xwlcn

Description

@xwlcn

如题,类似Cloudflare的一个检测脚本:https://github.com/Machou/Cloudflare-Block

目前能想到的就是模仿上面的方法,写个定时检测的脚本,负载过高就修改nginx配置文件然后重启,但这种方法需要reload Nginx,感觉不够优雅,是否能够在模块内置该功能,目前只看到访问频率过高时开启验证码的配置方法。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions