Skip to content

geoip: NGINX GeoIP dynamic modules


CentOS/RHEL 6, 7, 8 or Amazon Linux 2

bash yum -y install yum -y install nginx-module-geoip

Enable the module by adding the following at the top of /etc/nginx/nginx.conf:

nginx load_module modules/; nginx load_module modules/;


You may find information about configuration directives for this module at the following links:

Back to top