mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2026-04-28 11:50:13 +00:00
V4.2024.04.4470 [ci skip]
This commit is contained in:
parent
19b20de56a
commit
1110d9bab1
40 changed files with 957 additions and 910 deletions
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# VERSION INFORMATION #
|
||||
#----------------------
|
||||
# Version: V4.2019.04
|
||||
# Updated: 2019-06-28
|
||||
# Version: V5.2024.04
|
||||
# Updated: 2024-04-30
|
||||
#----------------------
|
||||
# VERSION INFORMATION #
|
||||
|
||||
|
|
@ -49,15 +49,19 @@
|
|||
# BLOCK BAD BOTS
|
||||
# --------------
|
||||
|
||||
# Section bot_1 Unused
|
||||
#limit_conn bot1_connlimit 100;
|
||||
#limit_req zone=bot1_reqlimitip burst=50;
|
||||
|
||||
limit_conn bot2_connlimit 10;
|
||||
limit_req zone=bot2_reqlimitip burst=10;
|
||||
|
||||
# Uncomment below lines for super rate limiting feature
|
||||
#limit_conn bot4_connlimit 10;
|
||||
#limit_req zone=bot4_reqlimitip burst=10;
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue