mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-05 20:20:02 +00:00
Run Whitelisting Test
This commit is contained in:
parent
d6e6fc6004
commit
05618f24ba
1 changed files with 19 additions and 18 deletions
|
@ -114,6 +114,25 @@ map $http_user_agent $bad_bot {
|
||||||
|
|
||||||
default 0;
|
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
|
# Bad User-Agent Strings That We Block Outright
|
||||||
|
@ -770,24 +789,6 @@ map $http_user_agent $bad_bot {
|
||||||
"~*\bYandexImages\b" 2;
|
"~*\bYandexImages\b" 2;
|
||||||
# END LIMITED BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
# 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 ###
|
|
||||||
# *********************************************************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue