Is there a way to match a subdomain in a firewall rule without explicitly writing the zone name?

If there's a field where I can get the zone name dynamically that would be nice, e.g. something like http.host == "my-subdomain.${cf.zone_name}"
1 Reply
High Flying Dwarf
The full list of fields is here and this isn't a thing. https://developers.cloudflare.com/ruleset-engine/rules-language/fields/
Fields reference · Cloudflare Ruleset Engine docs
The Cloudflare Rules language supports a range of field types:

Did you find this page helpful?