diff --git a/.dev-tools/test_units/blockbots.conf b/.dev-tools/test_units/blockbots.conf index 12af16979..3c06eb0bb 100644 --- a/.dev-tools/test_units/blockbots.conf +++ b/.dev-tools/test_units/blockbots.conf @@ -39,10 +39,11 @@ # 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 ($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 $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 diff --git a/bots.d/blockbots.conf b/bots.d/blockbots.conf index 5f5c9842d..718664451 100644 --- a/bots.d/blockbots.conf +++ b/bots.d/blockbots.conf @@ -38,10 +38,11 @@ # 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 ($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 $validate_client '0'; #Uncommenting this line will disable validate_client ip blocking functionality for specified IP(s) -} +#} # -------------- # BLOCK BAD BOTS