nix: the dashboard vhost's expected locations include /api/whoami
This commit is contained in:
parent
cd41e1d510
commit
cea4827918
1 changed files with 4 additions and 0 deletions
|
|
@ -630,7 +630,11 @@ let
|
|||
"= /__hive_agent_unreachable"
|
||||
"= /__hive_authelia"
|
||||
"= /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
|
||||
&& sameCert "h1.t.local" hive
|
||||
&& hive.addSSL
|
||||
|
|
|
|||
Loading…
Reference in a new issue