mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Add Test Case to Test Unit REF: #264
This commit is contained in:
parent
ce90a35f91
commit
ca6756d74d
1 changed files with 4 additions and 0 deletions
|
@ -706,6 +706,10 @@ map $http_user_agent $bad_bot {
|
|||
# Allow Good User-Agent Strings We Know and Trust
|
||||
# ***********************************************
|
||||
|
||||
# TEST CASES
|
||||
# **********
|
||||
"~*(?:\b|)Mozilla(?:|\s|,|\.|\b|\/|)" 0;
|
||||
|
||||
# START GOOD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*\badidxbot\b" 0;
|
||||
"~*\bAdsBot-Google\b" 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue