Skip to main content

default_geo_source_headers

Function default_geo_source_headers 

Source
pub fn default_geo_source_headers() -> Vec<String>
Expand description

Default forwarded-IP header set. Covers the three conventions a real GEODB front-end is likely to read in this order of preference: Cloudflare (CF-Connecting-IP), Akamai/CloudFront (True-Client-IP), then the de-facto standard X-Forwarded-For. Override via --geo-source-header to test a specific stack.