map $http_user_agent $bad_bot { default 0; ~*360Spider 1; ~*AdsBot-Google-Mobile 0; ~*google 1; ... } и в нужном локейшене: if ($bad_bot) { return 410; } Posted at Nginx Forum: https://forum.nginx.org/read.php?21,284490,284494#msg-284494