nginx 屏蔽网站首页访问 允许蜘蛛访问的方法 镖师2023/03/15 13:19:01 location = / { if ($http_user_agent !~* (spider|bot|googlebot|bingbot|yandex|msnbot|slurp)) { return 403; } # other rules} 进入原文参与互动