≡ Menu

Nginx Shell Script To Block Spamhaus Lasso Drop Spam IP Address

How Do I Use This Script?

Download and save this script to /etc/cron.daily/, enter:

Edit nginx.conf (/usr/local/nginx/conf/nginx.conf) and add the following line:

Save and close the file. Run the script:

{ 2 comments… add one }
  • Alex December 22, 2013, 4:30 pm

    it helps me, just change paths in script.

  • Enzo November 7, 2011, 5:53 pm

    what is the utilitie of this script?, please can you explain a little?

    regards, nice blog.

Security: Are you a robot or human?

Leave a Comment