Skip to main content

The Number of Trusted Hops

Summary

The Number of Trusted Hops setting reverse proxies in front of Pomerium. This affects x-forwarded-proto header and x-envoy-external-address header, which reports trusted client address. See the Envoy docs for more detail.

How to configure

Config file keysEnvironment variablesTypeUsage
xff_num_trusted_hopsXFF_NUM_TRUSTED_HOPSuint32optional

Examples

xff_num_trusted_hops: 2
XFF_NUM_TRUSTED_HOPS=2