Configuration Notes Added Regarding update-ngxblocker.

This commit is contained in:
Mitchell Krog 2017-07-26 11:42:29 +02:00
parent b8a059f176
commit 57ce313885
2 changed files with 8 additions and 0 deletions

View file

@ -282,6 +282,10 @@ If you want it to update more frequently (as sometimes I push out 3-4 updates a
`00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com` `00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com`
If you don't want any email notification after an update (not advisable in case Nginx ever has an EMERG when reloading), then simply run your cron as follows.
`00 */8 * * * sudo /usr/sbin/update-ngxblocker -n`
That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file. That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file.
************************************************ ************************************************

View file

@ -283,6 +283,10 @@ If you want it to update more frequently (as sometimes I push out 3-4 updates a
`00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com` `00 */8 * * * sudo /usr/sbin/update-ngxblocker -e yourname@youremail.com`
If you don't want any email notification after an update (not advisable in case Nginx ever has an EMERG when reloading), then simply run your cron as follows.
`00 */8 * * * sudo /usr/sbin/update-ngxblocker -n`
That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file. That's it, the blocker will automatically keep itself up to date and also reload Nginx once it has downloaded the latest version of the globalblacklist.conf file.
************************************************ ************************************************