How to install sw-nginx-module-abuse-guard in CentOS/RHEL 7 (x86_64)
Auto-ban abusive clients by error-response rate
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-abuse-guard
Description
NGINX module that watches the rate of error responses (404/403 by default, with opt-in 5xx) each client generates and applies a timed in-process lockout to clients whose traffic is mostly failure. The ban decision is made in the NGINX preaccess phase, before any handler or upstream runs, with a fixed per-client memory footprint independent of the threshold. Optional Redis/Valkey ban replication spans nodes, and compact on-disk snapshots preserve active bans across clean reloads and restarts. No daemon, log shipper, or scripting layer required. After installation, enable this module by running: plesk sbin nginx_modules_ctl --enable abuse-guard
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| sw-nginx-module-abuse-guard-1.26.3+2.0.0-4.el7.pl18.gps.x86_64 | 28 KiB | 2026-07-19 | no changelog |
| sw-nginx-module-abuse-guard-1.26.3+1.1.0-3.el7.pl18.gps.x86_64 | 30 KiB | 2026-07-09 | no changelog |