原因:国外垃圾蜘蛛频繁爬取服务器数据,导致CPU、内存全部拉满
解决办法:
NGINX:
宝塔->网站->具体站点->配置文件
ActionScript
复制
#屏蔽垃圾蜘蛛
if ($http_user_agent ~* (YandexBot|spbot|DnyzBot|Researchscan|semrushbot|yahoo|AhrefsBot|DotBot|Uptimebot|MJ12bot|MegaIndex.ru|ZoominfoBot|Mail.Ru|SeznamBot|BLEXBot|ExtLinksBot|aiHitBot|Barkrowler)){
return 403;
}
保存,重启服务器,重启队列即可。

© 版权声明
THE END
暂无评论内容