Nginx 屏蔽搜索引擎爬虫配置 if ($http_user_agent ~* (baiduspider|360spider|haosouspider|googlebot|soso|bing|sogou|yahoo|sohu-search|yodao|YoudaoBot|robozilla|msnbot|MJ12bot|NHN|Twiceler)) { return 403; } 参考来源 https://doub.io/wlzy-3/
发表回复