How to install sw-nginx-module-geoip2 in CentOS/RHEL 7 (x86_64)
NGINX GeoIP2 module
Important: The Plesk control panel must be installed on your server before using this repository.
Install
# The Plesk control panel must be installed on your server.
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install yum-utils
sudo yum-config-manager --enable getpagespeed-extras-plesk
sudo yum -y install sw-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) After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable geoip2
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Changelog |
|---|---|---|
| sw-nginx-module-geoip2-1.26.3+3.4-3.el7.pl18.gps.x86_64 | 20 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.3+3.4-2.el7.pl18.gps.x86_64 | 20 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.3+3.4-1.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.2+3.4-8.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.2+3.4-6.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.2+3.4-4.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.2+3.4-3.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.1+3.4-3.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.26.0+3.4-3.el7.pl18.gps.x86_64 | 19 KiB | no changelog |
| sw-nginx-module-geoip2-1.24.0+3.4-3.el7.pl18.gps.x86_64 | 19 KiB | no changelog |