Skip to main content

The number of trusted hops

  • Environmental Variable: XFF_NUM_TRUSTED_HOPS
  • Config File Key: xff_num_trusted_hops
  • Type: uint32
  • Default: 0

The number of trusted reverse proxies in front of pomerium. This affects x-forwarded-proto header and x-envoy-external-address header, which reports tursted client address. Envoy docs for more detail.