Pro and above can configure custom WAF

Pro and above can configure custom WAF Block Pages (custom pages for ip/country block, waf block, managed challenge, legacy captcha challenge, country challenge, JS challenge) under Custom Pages of a zone, or account-wide in Configurations => Custom Pages
2 Replies
archon810
archon8103y ago
Sure, I'm aware of that, but those apply globally, not per rule. I'd like to, for example, block certain pages in Brazil and explain why they're blocked.
Chaika
ChaikaOP3y ago
You could use a Worker for that, check location from the cf object (I think just request.cf.country) and then serve a custom block page. Outside of that, just not possible as far as I know

Did you find this page helpful?