| 用途 | 核对请求命中的站点 |
|---|---|
| 语法 | http.host contains "example.com" |
比对
比对
抓包中的 Host: api.example.com
TLS ClientHello 的 SNI: api.example.com
两者不一致时部分网关按 SNI 路由、部分按 HostHTTP/2 中域名在 :authority 伪头里,过滤语法不同。
同一 IP 多站点靠 Host 区分:Host 缺失或与预期域名不符会命中错误站点,SNI 与 Host 不一致时还可能触发证书告警。
| 用途 | 核对请求命中的站点 |
|---|---|
| 语法 | http.host contains "example.com" |
抓包中的 Host: api.example.com
TLS ClientHello 的 SNI: api.example.com
两者不一致时部分网关按 SNI 路由、部分按 Host