Cloudflare 防火墙速率限制规则

Cloudflare 防火墙速率限制规则设置参考,速率限制规则只有一条,设置好可以防御大部分流量攻击

Cloudflare 防火墙速率限制规则

 

排除掉静态文件,这些文件不用限制速率,因为 Cloudflare 缓存了,不用请求源服务器

Cloudflare 防火墙速率限制规则

根据自己网站的动态请求数量设置一个合理的数值,我这里设置成60,可以设置成更小,例如20-30

Cloudflare 防火墙速率限制规则

可以点编辑表达式,把下面的代码添加进去

(http.request.uri.path contains "/" and not ends_with(http.request.uri.path, ".png") and not ends_with(http.request.uri.path, ".jpg") and not ends_with(http.request.uri.path, ".woff2") and not ends_with(http.request.uri.path, ".js") and not ends_with(http.request.uri.path, ".webp") and not ends_with(http.request.uri.path, ".ico") and not ends_with(http.request.uri.path, ".svg") and not ends_with(http.request.uri.path, ".css") and not ends_with(http.request.uri.path, ".bmp") and not ends_with(http.request.uri.path, ".woff"))

 

建站

关闭 cloudflare 的ipv6

2023-11-25 14:31:04

VR

Quest 2 使用 steam link串流 开启高码率

2023-12-26 0:55:00

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
今日签到
有新私信 私信列表
搜索