Fix Whitelisting Tests

This commit is contained in:
Mitchell Krog 2019-06-22 13:43:00 +02:00
parent a517008738
commit 73acee4b0c
No known key found for this signature in database
GPG key ID: C243C388553EDE5D

View file

@ -22,6 +22,12 @@
echo "Tests Starting"
echo "Set Whitelisting to Default"
sudo cp ${TRAVIS_BUILD_DIR}/bots.d/blacklist-user-agents.conf /etc/nginx/bots.d/blacklist-user-agents.conf
echo "Reloading Nginx"
sudo nginx -t && sudo nginx -s reload
# *************************************************
# Function Curl Test 1 - Check for Bad Bot "80legs"
# *************************************************