mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Add run ./setup-ngxblocker second time after re-downloading missing files.
This commit is contained in:
parent
b35096907c
commit
9f1129c445
3 changed files with 15 additions and 0 deletions
|
@ -156,6 +156,13 @@ sudo cp $TRAVIS_BUILD_DIR/.dev-tools/globalblacklist-dummy.conf /etc/nginx/conf.
|
|||
cd /usr/sbin
|
||||
sudo bash ./update-ngxblocker -n
|
||||
|
||||
# **************************
|
||||
# Run setup-ngxblocker again
|
||||
# **************************
|
||||
|
||||
cd /usr/sbin
|
||||
sudo bash ./setup-ngxblocker -x
|
||||
|
||||
# *********************
|
||||
# Force reload of Nginx
|
||||
# *********************
|
||||
|
|
|
@ -192,6 +192,13 @@ sudo cp $TRAVIS_BUILD_DIR/.dev-tools/globalblacklist-dummy.conf /usr/local/nginx
|
|||
cd /usr/sbin
|
||||
sudo bash ./update-ngxblocker -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d -n
|
||||
|
||||
# **************************
|
||||
# Run setup-ngxblocker Again
|
||||
# **************************
|
||||
|
||||
cd /usr/sbin
|
||||
sudo bash ./setup-ngxblocker -x -c /usr/local/nginx/conf.d -b /usr/local/nginx/bots.d
|
||||
|
||||
# *********************
|
||||
# Force reload of Nginx
|
||||
# *********************
|
||||
|
|
|
@ -21,6 +21,7 @@ addons:
|
|||
apt:
|
||||
packages:
|
||||
- realpath
|
||||
- mailutils
|
||||
|
||||
before_install:
|
||||
- export TZ=Africa/Johannesburg
|
||||
|
|
Loading…
Add table
Reference in a new issue