mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Update globalblacklist.template )New Super Rate Limiting) [skip ci]
Ref: #568
This commit is contained in:
parent
601e6b46a5
commit
3d20ebe1b2
1 changed files with 7 additions and 0 deletions
|
@ -19350,6 +19350,7 @@ geo $ratelimited {
|
|||
0 "";
|
||||
1 "";
|
||||
2 $binary_remote_addr;
|
||||
4 $binary_remote_addr;
|
||||
}
|
||||
|
||||
# --------------------------
|
||||
|
@ -19362,6 +19363,12 @@ geo $ratelimited {
|
|||
limit_conn_zone $bot_iplimit zone=bot2_connlimit:16m;
|
||||
limit_req_zone $bot_iplimit zone=bot2_reqlimitip:16m rate=2r/s;
|
||||
|
||||
# BAD BOT SUPER RATE LIMITING ZONE
|
||||
# Super Rate limiting will only take effect if on any User-Agents with a value of 4
|
||||
|
||||
limit_conn_zone $bot_iplimit zone=bot4_connlimit:16m;
|
||||
limit_req_zone $bot_iplimit zone=bot4_reqlimitip:16m rate=1r/m;
|
||||
|
||||
# ==========================================
|
||||
# END SECTION 4 - ACTIVATE BLOCKER FUNCTIONS
|
||||
# ==========================================
|
||||
|
|
Loading…
Add table
Reference in a new issue