mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Update blockbots.conf [skip ci]
Ref: #568 Update to accommodate super rate limiting function
This commit is contained in:
parent
3278441ebb
commit
7755357057
1 changed files with 6 additions and 5 deletions
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# VERSION INFORMATION #
|
# VERSION INFORMATION #
|
||||||
#----------------------
|
#----------------------
|
||||||
# Version: V4.2019.04
|
# Version: V5.2024.04
|
||||||
# Updated: 2019-06-28
|
# Updated: 2024-04-30
|
||||||
#----------------------
|
#----------------------
|
||||||
# VERSION INFORMATION #
|
# VERSION INFORMATION #
|
||||||
|
|
||||||
|
@ -49,15 +49,16 @@
|
||||||
# BLOCK BAD BOTS
|
# BLOCK BAD BOTS
|
||||||
# --------------
|
# --------------
|
||||||
|
|
||||||
# Section bot_1 Unused
|
|
||||||
#limit_conn bot1_connlimit 100;
|
#limit_conn bot1_connlimit 100;
|
||||||
#limit_req zone=bot1_reqlimitip burst=50;
|
#limit_req zone=bot1_reqlimitip burst=50;
|
||||||
|
|
||||||
limit_conn bot2_connlimit 10;
|
limit_conn bot2_connlimit 10;
|
||||||
limit_req zone=bot2_reqlimitip burst=10;
|
limit_req zone=bot2_reqlimitip burst=10;
|
||||||
|
limit_conn bot4_connlimit 10;
|
||||||
|
limit_req zone=bot4_reqlimitip burst=10;
|
||||||
if ($bad_bot = '3') {
|
if ($bad_bot = '3') {
|
||||||
return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time
|
return 444;
|
||||||
}
|
}
|
||||||
|
|
||||||
# ---------------------
|
# ---------------------
|
||||||
# BLOCK BAD REFER WORDS
|
# BLOCK BAD REFER WORDS
|
||||||
|
|
Loading…
Add table
Reference in a new issue