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:Maxim Dounin (mdou@public.gmane.org)
Date:Sep 25, 2007 2:21:42 pm
List:ru.sysoev.nginx

Hello!

On Tue, 25 Sep 2007, 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?

Hint 1: You may use contrib/geo2nginx.pl script to convert maxmind's geoip database into nginx config format.

Hint 2: You may use "include" directive to include additional file into nginx.conf (e.g. your converted geoip database).