Hello!
On Tue, Apr 12, 2016 at 2:46 PM, David Santhosh wrote:
> I am using nginx geoip module with Maxmind and have a custom requirement
> where I dont want geoip module to perform lookup on client address(using
> ngx.var.remote_addr variable) instead want to pass a custom static address.
>
> Is there a way to pass a custom ip to geo lookup module?
>
> I cant use XFF as mentioned in
> http://nginx.org/en/docs/http/ngx_http_geoip_module.html
>
Maybe you should look for or create a Lua binding for geoip instead
for maximum flexibility :)
Regards,
-agentzh