mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Fix Whitelisting Tests
This commit is contained in:
parent
a517008738
commit
73acee4b0c
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
# *************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue