Reputation: 3167
I have the regular nginx library installed on ubuntu and I would like to add geoip feature to this project. I read that I need to load the geoip module and i installed it, I think, via apt-get but I am stuck at this level as I am not sure how to load nginx with this new module running alongside it. I already installed the cities and country database to the server.
Upvotes: 2
Views: 2627
Reputation: 3328
When you run:
nginx -V
Do you see --with-http_geoip_module
, if not you should update your nginx.
If visible follow the following article to install and download the IP to Geo DB from Maxmind.
Upvotes: 1