How to block referral spam using Nginx?

后端 未结 4 1394
甜味超标
甜味超标 2021-02-01 10:01

I\'m running two mongrels under an Nginx server. I keep getting requests for a nonexistent file. The IP addresses change frequently but the referring URL stays the same. I\'d

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-01 10:39

    I have created module for checking incoming IP in black lists https://github.com/oneumyvakin/ngx_http_blacklist_lookup_module

    it's uses blacklists from projecthoneypot.org, blocklist.de and uceprotect.net

提交回复
热议问题