GeoIP in Nginx

Ryan Maxey

Member
So, I've already compiled Linux with GeoIP enabled, added it in the host block, and downloaded the Nginx Country/city files and linked to them in nginx.conf. Not working in MyBB. Any ideas?
 

Ryan Maxey

Member
No error message. Unfortunately, I did this a while ago so I don't have the line. However, nginx -V does show:
--with-http_geoip_module
 

Quags

Administrator
Staff member
I was reading at http://wiki.nginx.org/HttpGeoipModule

'This module needs the geo databases and the library to read from the database.'

The download is the library, it happens to be written in C. It would be the header / include files, possibly an executable program as well.
 

Ryan Maxey

Member
I've downloaded the databases, linked them in Nginx.conf and set the variables in fastcgi_params
Not sure what else I could do.
 

Quags

Administrator
Staff member
Open up a ticket with the login details and I'll look further. If there is a test url include that too.
 
Top