mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Run Whitelisting Test
This commit is contained in:
parent
7f12570ee2
commit
57a17492c3
2 changed files with 3 additions and 4 deletions
|
@ -59,6 +59,6 @@
|
|||
# "~*\bsome\-very\-bad\-useragentname2\b" 3;
|
||||
|
||||
"~*(?:\b)Nutch(?:\b|)" 0;
|
||||
"~*\bNutch\b" 0;
|
||||
"~*Nutch" 0;
|
||||
#"~*\bNutch\b" 0;
|
||||
#"~*Nutch" 0;
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/blacklist-user-agents.conf /etc/nginx/bot
|
|||
echo "Reloading Nginx"
|
||||
sudo nginx -t && sudo nginx -s reload
|
||||
|
||||
echo "Sleeping for 30 seconds to allow Nginx reload"
|
||||
sleep 30s
|
||||
|
||||
# *******************************************************
|
||||
|
@ -54,8 +55,6 @@ fi
|
|||
run_curltest2
|
||||
|
||||
|
||||
sudo cat /etc/nginx/bots.d/blacklist-user-agents.conf
|
||||
|
||||
echo "Whitelist Tests Completed"
|
||||
|
||||
# **********************
|
||||
|
|
Loading…
Add table
Reference in a new issue