6 messages in ru.sysoev.nginxRe: GeoIP module questions
FromSent OnAttachments
Ezra ZygmuntowiczSep 25, 2007 12:52 pm 
proforgSep 25, 2007 2:19 pm 
Maxim DouninSep 25, 2007 2:21 pm 
Joe RuggerJan 25, 2008 3:28 am 
Igor ClarkJan 25, 2008 3:40 am 
Joe RuggerJan 25, 2008 6:03 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: GeoIP module questionsActions...
From:proforg (prof@public.gmane.org)
Date:Sep 25, 2007 2:19:38 pm
List:ru.sysoev.nginx

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?

-- Ezra Zygmuntowicz-- Founder & Ruby Hacker -- ez-NLltGlunAUd/unjJ@public.gmane.org -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273)