mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Force update-ngxblocker to download a new file by first deleting the existing one.
This commit is contained in:
parent
44643037e5
commit
e7d47a5dd7
2 changed files with 5 additions and 1 deletions
|
@ -106,6 +106,10 @@ sudo nginx -c /etc/nginx/nginx.conf
|
|||
# ****************************************************************************************
|
||||
|
||||
cd /usr/sbin
|
||||
|
||||
# First delete the globalblacklist.conf file so that the update actually pulls a new file
|
||||
sudo rm /usr/local/nginx/conf.d/globalblacklist.conf
|
||||
|
||||
sudo ./update-ngxblocker -b /usr/local/nginx/bots.d -e mitchellkrog@gmail.com
|
||||
|
||||
# *********************
|
||||
|
|
|
@ -125,7 +125,7 @@ sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/generate-regex-format-referrers.php
|
|||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/modify-config-readme-files.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/modify-files-and-commit.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/run-curl-tests.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/run-curl-tests2.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/run-curl-tests-2.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/prepare-robots-input.sh
|
||||
sudo chmod +x $TRAVIS_BUILD_DIR/.dev-tools/install-nginx-2.sh
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue