Add bad bot block list

This commit is contained in:
phil 2023-03-11 20:20:42 +01:00
parent 0d87bf0d97
commit 5fdb1a9f7b
4 changed files with 24 additions and 0 deletions

View file

@ -35,3 +35,12 @@ You can also limit the number of [connection](https://docs.nginx.com/nginx/admin
| Zone name | Filter | Limit |
|--|--|--|
| `con_ip_one` | IP address | No default limit |
## Bad Bot Blocker
This roles uses a deny list from the [nginx-ultimate-bad-bot-blocker](https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker) repository.
Include the list in your `server` block with:
```Shell
if ($bad_bots = 1) {return 444;}
```