Search

Items tagged with: Nginx


Thanks. If an AI bot doesn't respect "robots.txt", but it doesn't conceal its user agent setting, the following "nginx" code will work as an alternative:

if ($http_user_agent ~* (GPTBot|ClaudeBot|put-more-here)) {
    return 403;
}

That code goes in the nginx "server" block.

#ai #nginx #peertube #pixelfed


⇧