View this package for all Ubuntu releases →

How to install nginx-module-abuse-guard in Ubuntu 26.04 (resolute)

Auto-ban abusive clients by error-response rate

Vendor: GetPageSpeed https://github.com/GetPageSpeed/ngx_abuse_guard

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-abuse-guard

Installing packages requires an active GetPageSpeed subscription. For other releases and channels, use the setup wizard.

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.

Packages

Package Size Built
nginx-module-abuse-guard_1.30.6+2.1.0-9~gps1+ubuntu2604+stable_amd64 26 KiB 2026-10-17
nginx-module-abuse-guard_1.30.6+2.1.0-9~gps1+ubuntu2604+stable_arm64 25 KiB 2026-10-17

Subscribe