Update blockbots.conf [skip ci]

Ref: #568 

Update to accommodate super rate limiting function
This commit is contained in:
Mitchell Krog 2024-04-30 12:51:42 +02:00 committed by GitHub
parent 3278441ebb
commit 7755357057
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,14 +49,15 @@
# 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;
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;
}
# ---------------------