How to install nginx-module-geoip2 (x86_64)
NGINX GeoIP2 module
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable getpagespeed-extras-mainline sudo yum -y install nginx-module-geoip2
Description
NGINX module which creates variables with values from the MaxMind geoip2 databases. based on the client IP (default) or from a specific variable (supports both IPv4 and IPv6) To enable this module after installation, add the following to /etc/nginx/nginx.conf and reload NGINX: load_module modules/ngx_http_geoip2_module.so; load_module modules/ngx_stream_geoip2_module.so; Alternatively, enable all installed modules by adding this line to the top of /etc/nginx/nginx.conf: include /usr/share/nginx/modules/*.conf;
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| nginx-module-geoip2-1.31.2+3.4-2.amzn2023.gps.x86_64 | 26 KiB | 2026-06-18 | no changelog |
| nginx-module-geoip2-1.31.1+3.4-2.amzn2023.gps.x86_64 | 26 KiB | 2026-05-23 | no changelog |
| nginx-module-geoip2-1.31.0+3.4-2.amzn2023.gps.x86_64 | 26 KiB | 2026-05-15 | no changelog |
| nginx-module-geoip2-1.31.0+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2026-05-14 | no changelog |
| nginx-module-geoip2-1.29.8+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2026-04-08 | no changelog |
| nginx-module-geoip2-1.29.7+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2026-03-25 | no changelog |
| nginx-module-geoip2-1.29.6+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2026-03-11 | no changelog |
| nginx-module-geoip2-1.29.5+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2026-02-05 | no changelog |
| nginx-module-geoip2-1.29.4+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2025-12-11 | no changelog |
| nginx-module-geoip2-1.29.3+3.4-1.amzn2023.gps.x86_64 | 26 KiB | 2025-11-01 | no changelog |