mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-04 19:50:17 +00:00
Run Whitelisting Test
This commit is contained in:
parent
00c908c414
commit
78bf1c73dd
1 changed files with 17 additions and 17 deletions
|
@ -115,23 +115,6 @@ 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
|
||||||
# *********************************************
|
# *********************************************
|
||||||
|
@ -787,6 +770,23 @@ 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