ampliflare
← TIL
TIL

Cloudflare WAF Zone Names vs. Worker URLs

cloudflare waf workers

When configuring WAF rules for Cloudflare Workers, use the zone name only, not the full worker URL.

Use: my-account.workers.dev
Don’t use: <worker-name>.my-account.workers.dev

WAF rules operate at the zone level, so they filter by zone, not individual worker instances.

References

Credits

Thanks to sjr from the Cloudflare community for this clarification.