Maybe ngx_geo_module could help you, it's comes built-in with nginx and
doesn't need re-compilation.
http://nginx.org/en/docs/http/ngx_http_geo_module.html
On Wed, Jun 18, 2014 at 11:51 AM, Kurt Cancemi <kurt@x64architecture.com>
wrote:
> Hello,
>
> There is no way to do this with the packages from nginx.org, without
> recompiling nginx, with the --with-http_geoip_module build flag. Unless
> you 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
> http://www.getwnmp.org
>
> ---
> Kurt Cancemi
> http://www.getwnmp.org
>
>
> On Tue, Jun 17, 2014 at 9:59 PM, TheBritishGeek <nginx-forum@nginx.us>
> wrote:
>
>> 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 of
>> the box as such. However we need to add GeoIP support, so the question is
>> what is the best method of doing this. I really don't want to compile our
>> own install and break the simple apt-get upgrade path in the future if we
>> have a choice.
>>
>> Any advice would be greatly appreciated.
>>
>> Posted at Nginx Forum:
>> http://forum.nginx.org/read.php?2,250978,250978#msg-250978
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx