feat: anubis support #54

Open
fauno wants to merge 1 commits from anubis into main
Owner

just copied it from the hedgedoc recipe, but haven't tested it yet.

just copied it from the hedgedoc recipe, but haven't tested it yet.
fauno added 1 commit 2026-04-20 15:12:27 +00:00
feat: anubis support
Some checks failed
continuous-integration/drone/pr Build is failing
a3a1db97be
fauno requested review from 3wordchant 2026-04-20 15:12:27 +00:00
fauno requested review from p4u1 2026-04-20 15:12:27 +00:00
Owner

Tested it, seems to break the healthcheck because Wordpress now serves a 301.

Had a look for an Anubis option to skip a particular URL, or a Wordpress healthcheck URL, no dice. @fauno any ideas?

Tested it, seems to break the healthcheck because Wordpress now serves a 301. Had a look for an Anubis option to skip a particular URL, or a Wordpress healthcheck URL, no dice. @fauno any ideas?
Author
Owner

@3wordchant afaik anubis should only redirect for user agents that identify themselves as browsers, a user agent that looks like a script is ok. maybe add --user-agent=healthcheck to the script?

@3wordchant afaik anubis should only redirect for user agents that identify themselves as browsers, a user agent that looks like a script is ok. maybe add `--user-agent=healthcheck` to the script?
Author
Owner

though it's weird because it's connecting to localhost, maybe wordpress is redirecting to the external url too?

though it's weird because it's connecting to localhost, maybe wordpress is redirecting to the external url too?
Owner

though it's weird because it's connecting to localhost, maybe wordpress is redirecting to the external url too?

Yes this sounds plausible, Wordpress is extremely trigger-happy with redirects 🤔 But then how is the healthcheck passing normally?

> though it's weird because it's connecting to localhost, maybe wordpress is redirecting to the external url too? Yes this sounds plausible, Wordpress is extremely trigger-happy with redirects 🤔 But then how is the healthcheck passing normally?
Some checks failed
continuous-integration/drone/pr Build is failing
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin anubis:anubis
git checkout anubis
Sign in to join this conversation.
No description provided.