Watch
0
0
Fork
You've already forked hyperhive
0

nix: the dashboard vhost's expected locations include /api/whoami

This commit is contained in:
iris 2026-10-25 15:19:35 +01:00 • committed by mara
commit cea4827918

View file

@ -630,7 +630,11 @@ let
"= /__hive_agent_unreachable" "= /__hive_agent_unreachable"
"= /__hive_authelia" "= /__hive_authelia"
"= /api/docs" "= /api/docs"
"= /api/whoami"
] ]
# The profile menu's name comes from authelia's user info, on this
# origin so the session cookie reaches it.
&& lib.hasSuffix "/api/user/info" dash.locations."= /api/whoami".proxyPass
&& sameListen hive && sameListen hive
&& sameCert "h1.t.local" hive && sameCert "h1.t.local" hive
&& hive.addSSL && hive.addSSL