There is a lot of information how to build from the source code of nginx with support for module ngx_http_geoip_module, but it is all for previous versions of nginx, even when it was impossible to load modules dynamically.
I install nginx 1.10, and it already has the ability to connect ngx_http_geoip_module dynamically:
nginx version: nginx/1.10.0
built by gcc 4.8.4 (4.8.4 Ubuntu-2ubuntu1~14.04.1)
built with OpenSSL 1.0.1 f 6 Jan 2014
TLS SNI support enabled
configure arguments: ... --with-http_geoip_module=dynamic ...
Also in the file /etc/nginx/nginx.conf have what you need to load the module:
But it turns out that the folder /etc/nginx/modules is empty. I think this is not entirely logical, since when you compile with support for specified modules, these module are compiled into the folder /etc/nginx/modules.
How to be? Where to get ngx_http_geoip_module?