Nginx 屏蔽垃圾蜘蛛、攻击、恶意 IP

折腾
16 0

阻止那些恶作剧,换代理访问并且凹下垃圾评论。

2019-10-31 更新

屏蔽某颗老鼠屎网段,请更换任意 IP 再来。
deny 210.59.0.0/16;

2019-9-29 更新

更换高级配置文件
# vhost.conf 配置
https://raw.githubusercontent.com/vircloud/bots/master/deny-bots.conf

# ip 配置(精确)
https://raw.githubusercontent.com/vircloud/ips/accurate/deny-ip-acc.conf

# ip 配置(网段)
https://raw.githubusercontent.com/vircloud/ips/master/deny-ips.conf

2019-5-28 更新

自己站点提取
deny 158.69.203.0/24;
deny 149.202.30.0/24;
deny 118.24.89.174;
deny 222.186.136.116;
deny 116.62.199.33;
deny 124.131.237.218;
deny 222.186.190.141;
deny 146.0.40.0/24;
deny 193.106.30.98;
deny 106.11.0.0/24;
deny 142.44.249.0/24;
deny 148.251.69.0/24;
deny 148.251.9.0/24;
deny 159.69.187.0/24;
deny 173.212.201.0/24;
deny 213.163.66.0/24;
deny 216.244.66.0/24;
deny 54.39.77.0/24;
deny 78.46.161.0/24;
deny 91.209.51.0/24;
deny 91.209.51.0/24;
deny 95.163.255.0/24;
deny 95.216.15.0/24;
deny 46.118.155.61;
deny 220.243.135.1/24;
deny 220.243.136.1/24;
deny 129.204.79.1/24;
deny 205.147.109.1/24;
deny 190.9.129.1/24;
deny 122.114.193.1/24;
deny 129.204.147.1/24;
deny 106.51.143.1/24;

全世界网段

🎁 开箱

更新 2016-12-30
评论 ( 0 )
私信
pic
code
pre