nginx remote IP module

Concerning https://github.com/nutztherookie/ngx_remote_ip

A while ago, I moved to a new web-server (from apache to nginx) migrating a bunch of static stuff.

While doing so, however, I realized that, to actually migrate my old PHP-based remoteIP script, I would have to enable PHP again just for that purpose.
To avoid such a cruel fate, I actually wrote a little Python module which I proxied with nginx for a while. Obviously that wasn't exactly brilliant.

So eventually I ended up writing a little nginx-module based on this guy's guide.
What I ended up with can be found over at github (batteries included).

Tags:

Subscribe to noova.de RSS