Add bad bot block list
This commit is contained in:
parent
0d87bf0d97
commit
5fdb1a9f7b
4 changed files with 24 additions and 0 deletions
|
@ -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;}
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue