GeoIP module questions
proforg
proforg at maloletka.ru
Wed Sep 26 01:20:01 MSD 2007
http://wiki.codemongers.com/NginxHttpGeoModule
+ contrib/geo2nginx.pl to convert MaxMind CSV database.
ex:
geo $IP_GEO
{
default --;
include /etc/nginx/geo_ip_country;
}
and proxy_set_header / fastcgi_param as usual
On 25.09.2007, at 23:52, Ezra Zygmuntowicz wrote:
> Hey there nginxers-
>
> Is there a way to use a geoip database with nginx instead of
> explicitely listing out all the IP ranges in the nginx.conf?
> Something like this:
>
> http://www.maxmind.com/app/country
>
> There is a modeul for apache and lighttpd for this type of stuff.
> Any hints or help here? Or shoudl I just script something up to
> auto generate the geoip config for nginx from one of these databases?
>
> Thanks!
>
> -- Ezra Zygmuntowicz-- Founder & Ruby Hacker
> -- ez at engineyard.com
> -- Engine Yard, Serious Rails Hosting
> -- (866) 518-YARD (9273)
>
>
>
>
>
Aleksej Besciokov
proforg at maloletka.ru
+7 495 7853149
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20070926/5a8210e2/attachment.bin>
More information about the nginx
mailing list