Search code examples
nginxubuntu-12.04puppetgeoip

Installing nginx + geoip with puppet


I'm currently using:

mod 'nginx', :git => 'https://github.com/puphpet/puppet-nginx.git'

with a customised puphpet file that loads nginx but the version we get installed does support –with-http_geoip_module.

All of the posts on installing geoip functionality, suggest that the only way to get geoip support is to recompile nginx. Search for compiling packages with puppet suggests it's not the best way forward. Is there anywhere I can get the pre-packaged nginx module that supports geoip?

I'm using ubuntu 12.04


Solution

  • You'll need to find a repo that has this module already added. If you find it, you can simply use that.

    This one may be what you need: https://launchpad.net/~nicolas-zin/+archive/ubuntu/nginx