bash script to pull list of IP blocks from spamhaus and format them to nginx format
Find a file
2017-06-20 14:15:13 +03:00
block.sh INIT 2017-06-20 13:59:17 +03:00
LICENSE INIT 2017-06-20 13:59:17 +03:00
README.md updated readme 2017-06-20 14:15:13 +03: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.