updated readme
This commit is contained in:
parent
ad26886091
commit
12e96dd30a
1 changed files with 14 additions and 2 deletions
16
README.md
16
README.md
|
@ -1,3 +1,15 @@
|
||||||
#spamhaus ip blocklist updater
|
# 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.
|
||||||
|
|
||||||
todo: add readme ^_^
|
|
||||||
|
|
Loading…
Reference in a new issue