View this package for all Ubuntu releases →
How to install nginx-module-geoip2 in Ubuntu 26.04 (resolute)
NGINX GeoIP2 module
Install
curl -fsSL https://extras.getpagespeed.com/release-latest.deb -o /tmp/getpagespeed-release.deb sudo apt-get install -y /tmp/getpagespeed-release.deb rm /tmp/getpagespeed-release.deb sudo apt-get update sudo apt-get install -y nginx-module-geoip2
Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.
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)
Packages
| Package | Size | Built |
|---|---|---|
| nginx-module-geoip2_1.30.6+3.4-9~gps1+ubuntu2604+stable_amd64 | 11 KiB | 2026-10-17 |
| nginx-module-geoip2_1.30.6+3.4-9~gps1+ubuntu2604+stable_arm64 | 11 KiB | 2026-10-17 |