Files
computer-playbook/roles/web-app-hermes/meta/server.yml
kevinveenbirkenbachandClaude Opus 5 afced2aba2 fix(web-app-hermes): expect the redirect the sso gate produces
The role declares an oauth2 proxy, so an unauthenticated request to the root
answers 302 towards the identity provider. Its status codes still described the
shape from before the gate existed, where the api server mapped only /health
and /v1 and the bare root answered 404 by design. The webserver health check
therefore refused the redirect and the service failed to start, in compose and
in swarm alike.

Keeps 404 alongside: the variant that disables sso is not proxied, and there
the root still answers 404. Both variants share one runner and one declaration.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-11 14:50:42 +02:00

4 lines
45 B
YAML

---
status_codes:
default: [200, 302, 404]