GetPageSpeed Extras

sw-nginx-module-geoip2

How to install sw-nginx-module-geoip2 in CentOS/RHEL 9 (x86_64)

NGINX GeoIP2 module

License: BSD-2-Clause Vendor: GetPageSpeed LLC https://github.com/leev/ngx_http_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 dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install dnf-plugins-core
sudo dnf config-manager --enable getpagespeed-extras-plesk
sudo dnf -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.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.3+3.4-2.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.3+3.4-1.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.2+3.4-8.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.2+3.4-6.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.2+3.4-4.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.2+3.4-3.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.1+3.4-3.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.26.0+3.4-3.el9.pl18.gps.x86_64 26 KiB no changelog
sw-nginx-module-geoip2-1.24.0+3.4-3.el9.pl18.gps.x86_64 26 KiB no changelog

Subscribe