by yumraj · 1y ago · 0 comments
if ($http_user_agent ~* "BadBot") {
limit_rate 1k;
default_type application/octet-stream;
proxy_buffering off;
alias /dev/zero;
return 200;
}Blocking IPS is much cheaper for the blocker.