返回

Cloudflare防火墙其他WAF设置

   
摘要GPT
摘要小助理暂时失联跑路啦……😜

其他WAF设置

缓存设置

缓存设置好也可以帮助我们抵挡巨量的CC攻击。有些CC是很多IP随即攻击一个地址,如果我们的安全策略没有拦截到攻击。但是我们设置了缓存,那这些请求则会在CloudFlare边缘节点直接将缓存内容返回给请求。也达到了抗攻击的效果。

缓存设置是在多个位置进行的。下面大家看截图就好。

创建静态文件的缓存规则

表达式:

(http.request.full_uri contains ".gif") or (http.request.full_uri contains ".js") or (http.request.full_uri contains ".css") or (http.request.full_uri contains ".woff2") or (http.request.full_uri contains ".webp") or (http.request.full_uri contains ".png") or (http.request.full_uri contains ".jpg") or (http.request.full_uri contains ".jpeg")

缓存时间看个人情况

开启Tiered Cache

页面规则

关闭洋葱路由

Scrape Shield

使用 Hugo 构建
主题 hugo-magic小洋葱 魔改 由 Jimmy 设计
Written by Human, Not by AI