Block AI crawlers like GPTBot and ClaudeBot with one switch

Jabali Panel adds a per-domain Block AI crawlers switch, a blocked user-agent list and per-domain rate limits on top of CrowdSec. What each layer stops.

By Shuki Vaknin Updated 8 min read

Started as a Novell NetWare network administrator 35 years ago; system administrator and web developer for more than 25 years.


AI companies crawl the web to train models and to answer questions in their assistants. For many sites that is welcome. For others it is a steady load on the server, or content leaving under terms the owner never agreed to. Until now, a Jabali Panel tenant who wanted those crawlers gone had one tool, robots.txt, and it only works on bots that choose to obey it.

This release adds three controls on top of the CrowdSec protection every site already has:

  • a per-domain Block AI crawlers switch, for tenants and administrators;
  • a server-wide Blocked user agents list, for administrators;
  • per-domain rate limits, for administrators.

Here is what each one does, and where its limits are.

Availability: these controls are in the Jabali Panel stable release of 1 November 2026. Servers on the stable channel get them at their next daily automatic update.

Block AI crawlers, per domain

On a domain’s Overview tab, Block AI crawlers makes the site answer 403 Forbidden to the crawlers and assistants of AI companies that name themselves in the User-Agent header. Administrators have the same switch under Admin → Domains → Edit. It takes effect within a minute.

The list covers the published user agents of the main AI crawlers and assistants: AI2Bot, Amazonbot, anthropic-ai, Bytespider, CCBot, ChatGPT-User, Claude-SearchBot, Claude-User, ClaudeBot, cohere-ai, cohere-training-data-crawler, Diffbot, DuckAssistBot, FacebookBot, GPTBot, ImagesiftBot, meta-externalagent, meta-externalfetcher, MistralAI-User, OAI-SearchBot, Omgilibot, PanguBot, Perplexity-User, PerplexityBot, Timpibot and YouBot.

Each entry matches anywhere in the header and ignores case, so GPTBot catches any user agent that contains GPTBot/1.2, whatever surrounds it.

What is never on the list

No Google or Bing crawler is blocked, Google’s AI fetchers included. Blocking Googlebot or Bingbot would take a site out of search, and the panel will not do that by accident.

If you want to opt out of Google’s and Apple’s AI training, note that Google-Extended and Applebot-Extended are not crawlers of their own. They are tokens that Googlebot and Applebot read from your robots.txt, so they never appear in a request. Add them there:

User-agent: Google-Extended
Disallow: /

User-agent: Applebot-Extended
Disallow: /

The trade-off: AI search and assistants

The list is not only training crawlers. It also has the search bots and user-triggered fetchers of AI assistants: OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot, Perplexity-User and others. With the switch on, those services cannot read your pages when someone asks them about your site.

For a membership site or a paid archive, that is the point. For a business that wants to be recommended by AI assistants, it is the opposite of what you want. That is why the switch is per domain and off by default: each site decides for itself.

If you are not sure whether AI crawlers are a real load, look first. The domain’s Statistics tab counts bots along with people, so a bandwidth jump that your analytics tool doesn’t show is easy to spot. The access log on the Logs tab then shows which user agents sent it.

Blocked user agents, server-wide

Sometimes the problem is not AI. An aggressive SEO crawler, a price scraper or a broken monitoring tool can hit every site on a server. For that, the administrator has Blocked user agents under Admin → Security → CrowdSec → Bot Detection.

  • One entry per line, up to 200 entries, each 3 to 128 characters.
  • An entry matches when the User-Agent header contains it, ignoring case.
  • Every site answers 403 to a matching request. Nothing is banned: each matching request is refused on its own, and the same address can still load the site with a different user agent.

Because the block sits at the top of each site’s configuration, it applies before any other rule, including Let’s Encrypt’s certificate validation. A careless entry could break certificate renewals or lock search engines out of every site at once. The panel refuses those entries when you save:

  • anything that is part of a common browser’s user agent, such as Mozilla or compatible;
  • anything that would match Let’s Encrypt’s validation server;
  • anything that would match any Google or Bing crawler, such as bot, AdsBot or Google.

Google and Bing are never blocked. If a later release protects another crawler that an entry already on your list matches, that one entry is left out on its own, and the rest of the list keeps working.

Rate limits, per domain

Blocking by name is all or nothing. When a client is welcome but too fast, the administrator can set two limits on a domain under Admin → Domains → Edit → Security → Rate limits:

  • Requests per second: a visitor may burst to twice the rate without delay; requests past that get 503.
  • Open connections: connections past the limit get 503.

Both are counted per visitor IP address, and 0 turns a limit off. They are off by default, tenants cannot change them, and hosting packages do not set them. A rate limit is a tool for a specific problem on a specific site, not a blanket cap.

Under the hood, the panel declares one zone pair per limited domain in /etc/nginx/conf.d/00-jabali-ratelimits.conf:

limit_req_zone $binary_remote_addr zone=rl_<domain_id>:<size>k rate=<rps>r/s;
limit_conn_zone $binary_remote_addr zone=cn_<domain_id>:<size>k;

and the domain’s vhost uses them:

limit_req zone=rl_<domain_id> burst=<2 × rps> nodelay;
limit_conn cn_<domain_id> <connections>;

A domain without limits has none of these lines.

What was already stopping bots

The new controls sit on top of four layers that are on for every site, with no setting:

  • CrowdSec bad user agents (crowdsecurity/http-bad-user-agent): a client whose user agent is on CrowdSec’s list of several hundred known bad agents gets its address banned on every site. That list covers scanners, attack tools and some crawlers, such as MJ12bot, DotBot and PetalBot.
  • CrowdSec behaviour scenarios: clients that crawl too fast (http-crawl-non_statics), probe for missing or sensitive paths (http-probing, http-sensitive-files) or scan WordPress are banned, whatever user agent they send.
  • The CrowdSec community blocklist: addresses other CrowdSec users reported. Administrators can now add FireHOL, IPsum and their own blocklists on top.
  • The AppSec WAF: requests that look like attacks are refused.

One more layer is off by default: the AppSec bot-detection challenge, a JavaScript and proof-of-work test for visitors that look like bots. The administrator turns it on for the server and chooses which domains it covers. Verified search engines and AI crawlers pass it, so it is not a way to stop AI crawlers. That is what the new switch is for.

LayerDefaultWho sets itStopsResult
CrowdSec bad user agentsOnServerKnown bad tools and crawlersAddress banned
CrowdSec scenariosOnServerFast crawling, probing, scansAddress banned
AppSec WAFOnServerAttack-like requestsRequest refused
Bot-detection challengeOffAdmin, chosen domainsBots that fail a JS testChallenge page
Block AI crawlersOffTenant or admin, per domainNamed AI crawlers and assistants403
Blocked user agentsEmptyAdmin, every siteUser agents the admin lists403
Rate limitsOffAdmin, per domainToo many requests or connections per IP503

What a user-agent block cannot do

A user-agent block stops only a bot that says who it is. The large AI companies publish their user agents and send them, which is why the switch works for them. A scraper that sends a browser’s user agent looks like a browser to nginx.

Those are left to the layers that judge behaviour instead of names: the CrowdSec scenarios, the WAF and the bot-detection challenge. Between them, a client that crawls fast, probes for files or fails the challenge is stopped whatever it calls itself.

How it is wired

The two user-agent blocks live in one generated file, /etc/nginx/conf.d/00-jabali-bots.conf. It defines two nginx maps on $http_user_agent: one for the AI crawler list and one for the administrator’s list. A site’s vhost refers to them only when it uses them:

# This domain blocks AI crawlers that identify themselves.
if ($jabali_ai_crawler) { return 403; }

With both off, the vhosts are unchanged. The generated file is checked with nginx -t before nginx reloads, and the previous file is put back if the check fails. The administrator’s list is checked a second time before it is written, so an entry cannot change the configuration around it. As with the rest of the nginx configuration, the panel’s reconciler owns these files, and hand edits are overwritten.

Try it

Open a domain, turn on Block AI crawlers, wait a minute and run:

curl -s -o /dev/null -w '%{http_code}\n' -A 'GPTBot/1.2' https://example.com/

It prints 403. Send the same request with a browser’s user agent and the page loads as usual. The security documentation describes every layer in more detail.

Frequently Asked Questions

How do I block AI crawlers on a site hosted with Jabali Panel?
Open the domain and turn on Block AI crawlers on its Overview tab. Administrators have the same switch under Admin → Domains → Edit. The site then answers 403 to the crawlers and assistants of AI companies, such as GPTBot, ClaudeBot, CCBot, PerplexityBot and Bytespider. It takes effect within a minute.
Does blocking AI crawlers hurt my Google or Bing rankings?
No Google or Bing crawler is on the list, Google's AI fetchers included, so search indexing is not affected. Google's and Apple's AI training opt-outs (Google-Extended and Applebot-Extended) are robots.txt tokens, not user agents. Add them to your robots.txt if you want to opt out of those as well.
Will my site still show up in ChatGPT search or Perplexity?
The list includes the search bots and user-triggered fetchers of AI assistants, such as OAI-SearchBot, ChatGPT-User, Claude-SearchBot, Claude-User, PerplexityBot and Perplexity-User. With the switch on, they get 403 and cannot read your pages. That is why the switch is per domain: a site that wants to be quoted by AI assistants can leave it off.
Why not just use robots.txt?
robots.txt is a request. A crawler that honours it stops; one that ignores it carries on. The Block AI crawlers switch is enforced by nginx: a request whose User-Agent names one of the listed bots is refused with 403 whatever robots.txt says.
Can the administrator block other user agents on every site?
Yes. Admin → Security → CrowdSec → Bot Detection → Blocked user agents takes up to 200 entries, one per line. Every site answers 403 to a request whose User-Agent contains one of them, case-insensitively. Entries that would match a browser, Let's Encrypt or any Google or Bing crawler are refused.
What about bots that pretend to be a browser?
A user-agent block only stops a bot that says who it is. A bot that sends a browser's user agent is left to CrowdSec: its behaviour scenarios ban clients that crawl too fast or probe for sensitive paths, the AppSec WAF refuses attack-like requests, and the optional AppSec bot-detection challenge tests visitors that look like bots.
How do I rate-limit a domain?
The administrator sets Requests per second and Open connections under Admin → Domains → Edit → Security → Rate limits. Both are counted per visitor IP address and are off by default. A visitor may burst to twice the rate without delay; requests past that, and connections past the limit, get 503.