mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-10 15:34:24 +00:00
V4.2019.06.1629 [ci skip]
This commit is contained in:
parent
d37b523dbd
commit
87187c7ab1
32 changed files with 1681 additions and 1540 deletions
|
@ -1,2 +1 @@
|
|||
35.184.96.71 1;
|
||||
127.0.0.1 1;
|
||||
|
|
|
@ -31,6 +31,14 @@
|
|||
|
||||
#######################################################################
|
||||
|
||||
# ENABLE WHITELISTING TO WORK
|
||||
# This should over rule any other rule
|
||||
if ($remote_addr ~ "(127.0.0.1)" ) {
|
||||
#set $bad_bot '0';
|
||||
set $validate_client '0';
|
||||
}
|
||||
|
||||
|
||||
# BOTS
|
||||
# ****
|
||||
#limit_conn bot1_connlimit 100;
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
35.184.96.71 0;
|
||||
127.0.0.1 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue