Expand description
Trusted-proxy predicate.
Combines user-configured trusted-proxy CIDRs with an optional Cloudflare IP
cache into a single is_trusted(peer_ip) -> bool predicate. The
reverse-proxy service uses this to decide whether to honor
CF-Connecting-IP / X-Forwarded-For request headers from a given peer.
Structsยง
- Trusted
Proxy List - A list of trusted upstream proxies, expressed as a set of user CIDRs plus an optional Cloudflare IP cache.