mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Configuration Notes Added Regarding update-ngxblocker.
This commit is contained in:
parent
b8a059f176
commit
57ce313885
2 changed files with 8 additions and 0 deletions
|
@ -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`
|
||||
|
||||
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.
|
||||
|
||||
************************************************
|
||||
|
|
|
@ -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`
|
||||
|
||||
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.
|
||||
|
||||
************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue