The pinned binary's policy parser rejects unknown actions and exits 1 on startup (verified against the image binary: the valid action literals are ALLOW, CHALLENGE, DENY). The first cut of the own-endpoints accept rule used ACCEPT and crash-looped the unit on deploy.
21 lines
594 B
JSON
21 lines
594 B
JSON
{
|
|
"bots": [
|
|
{
|
|
"name": "deny AI scrapers",
|
|
"user_agent_regex": "(?i)^(GPTBot|ChatGPT-User|OAI-SearchBot|CCBot|anthropic-ai|ClaudeBot|Claude-Web|PerplexityBot|PerplexityUser|Google-Extended|Applebot-Extended|Bytespider|Amazonbot|meta-externalagent|DuckAssistBot|cohere-ai|YouBot|KimiBot)",
|
|
"action": "DENY"
|
|
},
|
|
{
|
|
"name": "serve anubis own endpoints",
|
|
"path_regex": "^/\\.within\\.website",
|
|
"action": "ALLOW"
|
|
},
|
|
{
|
|
"name": "challenge everything else",
|
|
"path_regex": ".",
|
|
"action": "CHALLENGE"
|
|
}
|
|
],
|
|
"dnsbl": false
|
|
}
|