mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-15 09:39:48 +00:00
V4.2020.12.2182 [ci skip]
This commit is contained in:
parent
e8884cc31a
commit
09b6d10f48
47 changed files with 1094 additions and 1092 deletions
|
@ -56,7 +56,7 @@
|
|||
limit_conn bot2_connlimit 10;
|
||||
limit_req zone=bot2_reqlimitip burst=10;
|
||||
if ($bad_bot = '3') {
|
||||
return 444;
|
||||
return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time
|
||||
}
|
||||
|
||||
# ---------------------
|
||||
|
@ -64,7 +64,7 @@ if ($bad_bot = '3') {
|
|||
# ---------------------
|
||||
|
||||
if ($bad_words) {
|
||||
return 444;
|
||||
return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time
|
||||
}
|
||||
|
||||
# ------------------
|
||||
|
@ -72,7 +72,7 @@ if ($bad_words) {
|
|||
# ------------------
|
||||
|
||||
if ($bad_referer) {
|
||||
return 444;
|
||||
return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time
|
||||
}
|
||||
|
||||
# -----------------------------
|
||||
|
@ -80,6 +80,6 @@ if ($bad_referer) {
|
|||
# -----------------------------
|
||||
|
||||
if ($validate_client) {
|
||||
return 444;
|
||||
return 444; # << Response Code Issued May Be Modified to Whatever you Choose ie. 404 but 444 wastes less of Nginxs time
|
||||
}
|
||||
|
||||
|
|
|
@ -47,4 +47,4 @@
|
|||
# - To bypass everything for a certain IP see notes in blockbots.conf on SUPER WHITELIST
|
||||
34.122.208.80 0;
|
||||
35.193.184.18 0;
|
||||
34.122.173.211 0;
|
||||
104.154.182.187 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue