2017-06-20 11:15:13 +00:00
|
|
|
# spamhaus ip blocklist updater
|
|
|
|
|
|
|
|
This is a tiny tool for automating the update process of nginx blocklist.
|
|
|
|
|
|
|
|
usage:
|
|
|
|
./block.sh /desti/nation/file.conf
|
|
|
|
|
|
|
|
and then inside http {} directive:
|
|
|
|
"include /desti/nation/file.conf;"
|
|
|
|
to include the denied ip blocks.
|
|
|
|
|
|
|
|
|
|
|
|
--
|
|
|
|
You can also edit the block.sh and ignore first argument.
|
2017-06-20 10:59:17 +00:00
|
|
|
|