写个lua脚本的UA判断就好了 https://gist.github.com/0polar/d721715f987247db7194c917de46601e 或者直接nginx判断 if ($http_user_agent ~* "sogou|theworld|qiyu|green|qq|qqbrowser|tt|liebao|lbbrowser|taobao|uc|mi|xiaomi|baidu|360|360SE|360EE|2345Explorer|maxthon|yandex|micromessenger|wechat|weibo|douban|suning|iqiyi|alipay") { return 403; }