Closed myf5 closed 5 years ago
Hi, With xff as source, assume xff value is: 1.1.1.1,2.2.2.2,3.3.3.3 how can I get the 1.1.1.1 as value? geoip2 geoip/GeoLite2-City.mmdb { $geoip2_data_city_name source=$http_x_forwarded_for city names en; } Many thanks
geoip2 geoip/GeoLite2-City.mmdb { $geoip2_data_city_name source=$http_x_forwarded_for city names en; }
See #44
Hi, With xff as source, assume xff value is: 1.1.1.1,2.2.2.2,3.3.3.3 how can I get the 1.1.1.1 as value?
geoip2 geoip/GeoLite2-City.mmdb { $geoip2_data_city_name source=$http_x_forwarded_for city names en; }
Many thanks