Spoof IP for geoip plugin?

Phillip Oldham phill at activityhq.com
Mon Sep 13 12:34:26 MSD 2010


  Is there a way I can spoof my local IP when testing nginx's geoip 
plugin? I'm running a VM which has a static IP on my local network which 
runs a development version of my app sitting behind nginx. I need to 
test that the right geoip headers are being passed to my app, but since 
I'm on a local network my ip isn't set in the geoip.dat file.



More information about the nginx mailing list