mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-10 23:34:41 +00:00
Fix Whitelisting Tests
This commit is contained in:
parent
819e517033
commit
5f514b9ef9
2 changed files with 62 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
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
|
||||
sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/blacklist-user-agents-none.conf /etc/nginx/bots.d/blacklist-user-agents.conf
|
||||
echo "Reloading Nginx"
|
||||
sudo nginx -t && sudo nginx -s reload
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue