Skip to content

http.host — Host (Domain)

metin

In the console: Host (Domain)

Represents the hostname the request is targeting. Useful in multi-tenant setups or to apply different rules per subdomain.

OperatorDescription
==Exact match
!=Not equal
inIn list
not_inNot in list
containsContains
not_containsDoes not contain
has_prefixStarts with
has_not_prefixDoes not start with
has_suffixEnds with
has_not_suffixDoes not end with
IF http.host == api.example.com
THEN ratelimit 100/60s
IF http.host has_suffix .example.com
THEN allow