CloudFlare设置规则防止worker用量超过限额
问题 发现我的 ghproxy 连续两天用量异常 用光了10K限额 解决方案 CloudFlare 免费计划 不能使用全局的 WAF 只能进到域名里面设置简单规则 点击某一个域名之后, Security -> Security rules -> Create rule -> Rate limiting rules 填写一个规则名称, 随你喜欢 点击 Edit expression 填写 (http.host wildcard "ghproxy.*") * 因为我的 ghproxy 的域名是 ghproxy.xxxx.yyyy.zzz 所以这里我写成这样的匹配规则 Rate条件设置为 10秒内 8 次 * 我这只是个示例, 你想设置10秒内5次随你喜欢 动作设置为 Block 拉黑 持续时间设置为10秒 点击 Deploy 部署 ======== 完