Nginx禁止UA By admin | 2022-01-16 阅读次数: Add the code in serverif ($http_user_agent ~* (Python|MJ12bot|Trident|GoogleBot)) { return 404; }