Skip to main content

ENV_TRUSTED_XFCC_PROXIES

Constant ENV_TRUSTED_XFCC_PROXIES 

Source
pub const ENV_TRUSTED_XFCC_PROXIES: &str = "TENSOR_WASM_API_TRUSTED_XFCC_PROXIES";
Expand description

Environment variable carrying a comma-separated allowlist of IPv4/IPv6 addresses or CIDR ranges whose X-Forwarded-Client-Cert headers the audit middleware will trust. Empty / unset = never trust XFCC (the safe default — see TrustedProxies).

Example: TENSOR_WASM_API_TRUSTED_XFCC_PROXIES=10.0.0.0/8,127.0.0.1,::1.