Better HN
topnewbestaskshowjobs
Log inSign up

sotspecatcle

11 karma · joined Jan 15, 2021 (5y ago) · 2 submissions

Submissions

comment 1y ago · link · parent

Cool, not working in Safari for me though.

comment 1y ago · link · parent

    if ($http_user_agent ~* "BadBot") {
        limit_rate 1k;
        default_type application/octet-stream;
        proxy_buffering off;
        alias /dev/zero;
        return 200;
    }