From 05618f24ba8d615a75b424c944dab7d0c38a3391 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Sat, 22 Jun 2019 15:30:52 +0200 Subject: [PATCH] Run Whitelisting Test --- .dev-tools/globalblacklist-testing.template | 37 +++++++++++---------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/.dev-tools/globalblacklist-testing.template b/.dev-tools/globalblacklist-testing.template index edaef324a..b0317472c 100644 --- a/.dev-tools/globalblacklist-testing.template +++ b/.dev-tools/globalblacklist-testing.template @@ -114,6 +114,25 @@ map $http_user_agent $bad_bot { default 0; +# *********************************************** +# Include your Own Custom List of Bad User Agents +# *********************************************** + +# Use the include file below to further customize your own list of additional user-agents you wish to permanently block + +# *********************************************************************************** +# START CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ### +# *********************************************************************************** + + include /etc/nginx/bots.d/blacklist-user-agents.conf; + +# ********************************************************************************* +# END CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ### +# ********************************************************************************* + + + + # ********************************************* # Bad User-Agent Strings That We Block Outright @@ -770,24 +789,6 @@ map $http_user_agent $bad_bot { "~*\bYandexImages\b" 2; # END LIMITED BOTS ### DO NOT EDIT THIS LINE AT ALL ### -# *********************************************** -# Include your Own Custom List of Bad User Agents -# *********************************************** - -# Use the include file below to further customize your own list of additional user-agents you wish to permanently block - -# *********************************************************************************** -# START CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ### -# *********************************************************************************** - - include /etc/nginx/bots.d/blacklist-user-agents.conf; - -# ********************************************************************************* -# END CUSTOM BLACKLISTED USER AGENTS ### DO NOT EDIT OR REMOVE THIS LINE AT ALL ### -# ********************************************************************************* - - - }