Skip to content

Move keep-internet-working.yaml before deny rules in Anubis policy#520

Merged
bpepple merged 1 commit intoMetron-Project:masterfrom
jyggen:fix-anubis-config
Apr 25, 2026
Merged

Move keep-internet-working.yaml before deny rules in Anubis policy#520
bpepple merged 1 commit intoMetron-Project:masterfrom
jyggen:fix-anubis-config

Conversation

@jyggen
Copy link
Copy Markdown
Member

@jyggen jyggen commented Apr 24, 2026

This change ensures robots.txt (and favicon/.well-known/) are always served regardless of user-agent, since rules are evaluated in order and a denied UA would never reach the allow rule (and thus keep scraping since it can't read robots.txt and see that it's not allowed to scrape).

In the nginx logs we have repeated visits from GPTBot despite it being blocked by robots.txt (and their docs saying they do respect this file). Looking at the Anubis logs, a lot of requests for this file is currently being denied by Anubis, which would explain why we see blocked user-agents still visiting us.

@bpepple bpepple self-assigned this Apr 25, 2026
Copy link
Copy Markdown
Member

@bpepple bpepple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@bpepple bpepple merged commit 196ceec into Metron-Project:master Apr 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants