mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Update blockbots.conf
This commit is contained in:
parent
88658e8385
commit
d586d01c3e
2 changed files with 7 additions and 5 deletions
|
@ -39,10 +39,11 @@
|
||||||
# More IP's can be added example > "(127.0.0.1)|(192.168.0.1)|(192.168.1.1)"
|
# More IP's can be added example > "(127.0.0.1)|(192.168.0.1)|(192.168.1.1)"
|
||||||
# If you even blacklisted 127.0.0.1 or your own IP by giving it a value of 1 in any of the includes, this will over-ride that block.
|
# If you even blacklisted 127.0.0.1 or your own IP by giving it a value of 1 in any of the includes, this will over-ride that block.
|
||||||
|
|
||||||
if ($remote_addr ~ "(127.0.0.1)|(192.168.0.1)" ) {
|
# UNCOMMENT THE NEXT 4 LINES TO ACTIVATE THE SUPER WHITELIST
|
||||||
|
#if ($remote_addr ~ "(127.0.0.1)|(192.168.0.1)" ) {
|
||||||
#set $bad_bot '0'; #Uncommenting this line will disable bad_bots functionality for specified IP(s)
|
#set $bad_bot '0'; #Uncommenting this line will disable bad_bots functionality for specified IP(s)
|
||||||
set $validate_client '0'; #Uncommenting this line will disable validate_client ip blocking functionality for specified IP(s)
|
#set $validate_client '0'; #Uncommenting this line will disable validate_client ip blocking functionality for specified IP(s)
|
||||||
}
|
#}
|
||||||
|
|
||||||
# --------------
|
# --------------
|
||||||
# BLOCK BAD BOTS
|
# BLOCK BAD BOTS
|
||||||
|
|
|
@ -38,10 +38,11 @@
|
||||||
# More IP's can be added example > "(127.0.0.1)|(192.168.0.1)|(192.168.1.1)"
|
# More IP's can be added example > "(127.0.0.1)|(192.168.0.1)|(192.168.1.1)"
|
||||||
# If you even blacklisted 127.0.0.1 or your own IP by giving it a value of 1 in any of the includes, this will over-ride that block.
|
# If you even blacklisted 127.0.0.1 or your own IP by giving it a value of 1 in any of the includes, this will over-ride that block.
|
||||||
|
|
||||||
if ($remote_addr ~ "(127.0.0.1)|(192.168.0.1)" ) {
|
# UNCOMMENT THE NEXT 4 LINES TO ACTIVATE THE SUPER WHITELIST
|
||||||
|
#if ($remote_addr ~ "(127.0.0.1)|(192.168.0.1)" ) {
|
||||||
#set $bad_bot '0'; #Uncommenting this line will disable bad_bots functionality for specified IP(s)
|
#set $bad_bot '0'; #Uncommenting this line will disable bad_bots functionality for specified IP(s)
|
||||||
#set $validate_client '0'; #Uncommenting this line will disable validate_client ip blocking functionality for specified IP(s)
|
#set $validate_client '0'; #Uncommenting this line will disable validate_client ip blocking functionality for specified IP(s)
|
||||||
}
|
#}
|
||||||
|
|
||||||
# --------------
|
# --------------
|
||||||
# BLOCK BAD BOTS
|
# BLOCK BAD BOTS
|
||||||
|
|
Loading…
Add table
Reference in a new issue