Forum: NGINX Best method for adding GeoIP support

2974d09ac2541e892966b762aad84943?d=identicon&s=25 TheBritishGeek (Guest)
on 2014-06-18 03:59
(Received via mailing list)
We have just started to work with Nginx and have installed by adding the
nginx repositry to our debian 7 installs. It works almost perfectly out
the box as such. However we need to add GeoIP support, so the question
what is the best method of doing this.  I really don't want to compile
own install and break the simple apt-get upgrade path in the future if
have a choice.

Any advice would be greatly appreciated.

Posted at Nginx Forum:,250978,250978#msg-250978
2fd0c3f17efded066208e74d8e7f307e?d=identicon&s=25 Kurt Cancemi (Guest)
on 2014-06-18 08:52
(Received via mailing list)

There is no way to do this with the packages from, without
recompiling nginx, with the --with-http_geoip_module build flag. Unless
do it on another level (e.g. with the geoip php extension) which I am
assuming you don't want. You could set up your own repo.

Kurt Cancemi

Kurt Cancemi

On Tue, Jun 17, 2014 at 9:59 PM, TheBritishGeek <>
13731c628e20ffd83b6114ff2c406272?d=identicon&s=25 shahzaib mushtaq (shahzaib12)
on 2014-06-18 08:58
(Received via mailing list)
Maybe ngx_geo_module could help you, it's comes built-in with nginx and
doesn't need re-compilation.

On Wed, Jun 18, 2014 at 11:51 AM, Kurt Cancemi
2974d09ac2541e892966b762aad84943?d=identicon&s=25 TheBritishGeek (Guest)
on 2014-06-24 05:57
(Received via mailing list)
Thanks for help on this, I decided to just go ahead and compile this
ourselves as as we really need  the GoIP features.

Posted at Nginx Forum:,250978,251123#msg-251123
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.