Force update-ngxblocker to download a new file by first deleting the existing one.

This commit is contained in:
Mitchell Krog 2017-07-25 12:23:19 +02:00
parent 44643037e5
commit e7d47a5dd7
2 changed files with 5 additions and 1 deletions

View file

@ -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
# *********************