宝塔面板,网站屏蔽垃圾蜘蛛

宝塔面板,网站屏蔽垃圾蜘蛛:/www/server/nginx/conf/enable-php-74.conf

if ($http_user_agent ~* "TelegramBot|DataForSeoBot|YandexBot|PetalBot|DotBot|facebookexternalhit|AhrefsBot|MJ12bot|SemrushBot|Slurp|twiceler|Scrubby|Robozilla|GPTBot|Amazonbot") { 	return 403; }  如果谷歌蜘蛛也不要,就加上Googlebot

 

本页面信息来源互联网,如您认为该页面内容侵犯您的权益,请拨打电话处理。 备案号:陕ICP备2022008266号-1陕公网安备61030302000361