Skip to content

Commit

Permalink
Update blockbots.conf
Browse files Browse the repository at this point in the history
Default - Super Rate Limiting Commented Out
User must decide if they want to use it

Ref: #568
  • Loading branch information
mitchellkrogza authored Apr 30, 2024
1 parent 3a74c7b commit 19b20de
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bots.d/blockbots.conf
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@

limit_conn bot2_connlimit 10;
limit_req zone=bot2_reqlimitip burst=10;
limit_conn bot4_connlimit 10;
limit_req zone=bot4_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;
}
Expand Down

0 comments on commit 19b20de

Please sign in to comment.