How to install nginx-module-geoip2 (aarch64)
NGINX GeoIP2 module
Install
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo amazon-linux-extras install epel 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;
Architecture
Optimized for aarch64 (ARM64) architecture. It can be used on AWS Graviton instances, as well as Raspberry Pi 4 and newer.
RPMs
| Package | Size | Changelog |
|---|---|---|
| nginx-module-geoip2-1.30.2+3.4-2.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.30.1+3.4-2.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.30.1+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.30.0+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.28.3+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.28.2+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.28.1+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.28.0+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.26.3+3.4-1.amzn2.gps.aarch64 | 20 KiB | no changelog |
| nginx-module-geoip2-1.26.2+3.4-8.amzn2.gps.aarch64 | 20 KiB | no changelog |