İçeriğe geç

http.host — Host (Domain)

metin

Konsolda: Host (Domain)

İsteğin hedeflediği hostname’i temsil eder. Çok kiracılı (multi-tenant) yapılarda veya belirli subdomain’leri ayrı kurallarla yönetmek için kullanılır.

OperatörAçıklama
==Tam eşleşme
!=Eşit değil
inListede bulunur
not_inListede bulunmaz
containsİçerir
not_containsİçermez
has_prefixBu önek ile başlar
has_not_prefixBu önek ile başlamaz
has_suffixBu sonekle biter
has_not_suffixBu sonekle bitmez
IF http.host == api.example.com
THEN ratelimit 100/60s
IF http.host has_suffix .example.com
THEN allow