Run Whitelisting Test

This commit is contained in:
Mitchell Krog 2019-06-22 16:10:01 +02:00
parent 7f12570ee2
commit 57a17492c3
No known key found for this signature in database
GPG key ID: C243C388553EDE5D
2 changed files with 3 additions and 4 deletions

View file

@ -59,6 +59,6 @@
# "~*\bsome\-very\-bad\-useragentname2\b" 3;
"~*(?:\b)Nutch(?:\b|)" 0;
"~*\bNutch\b" 0;
"~*Nutch" 0;
#"~*\bNutch\b" 0;
#"~*Nutch" 0;

View file

@ -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"
# **********************