How to install nginx-honeypot on Amazon Linux
NGINX honeypot - detect malicious bots (and optionally firewall-ban them)
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| Amazon Linux 2023 | — | ✓ | — | 1.1.0 |
| Amazon Linux 2012.03 | — | — | — | |
| Amazon Linux 2 | — | ✓ | — | 1.1.0 |
Description
NGINX honeypot with lots of "honey" for bad bots. A map of bot-bait request URIs (phpMyAdmin probes, .env grabs, exploit paths) makes NGINX return 410 Gone, cutting server load and log noise. The package is config-only and needs nothing but nginx. Banning the offending IP is optional and opt-in: a free fcgiwrap + ipset path, and a Pro path that bans from one directive via nginx-module-nftset-access. Both are documented in the README.
Built for Amazon Linux.
Install
nginx-honeypot on Amazon Linux 2, 2023
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install nginx-honeypot
Package downloads require an active GetPageSpeed subscription — one repository for nginx-honeypot and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install nginx-honeypot on Amazon Linux?
Add the GetPageSpeed repository, then install the nginx-honeypot package with your system package manager.
Which Amazon Linux versions is nginx-honeypot available for?
nginx-honeypot is available for Amazon Linux 2, 2023.