Basic auth in monitor with caddy + authelia #727
Unanswered
ckgxrg-salt
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Installed glance on nixos from nixpkgs, version 0.8.3
I set up basic-auth options under monitor widgets as described in the docs, and recently switched from nginx to caddy.
With nginx, everything works smoothly; but with caddy, authelia reports unauthorized for user "anonymous" which means the credentials are not received.
I found some answers saying that caddy will not automatically handle "Authorization' headers, so I added relevant
header_uplike this:With this config, I can
curl -u username:passwordto my endpoints and caddy reports correct "Authorization" headers in the log, and authelia can normally grant access.But with glance, caddy reports this:
The "Authorization" header is missing, and the credentials are not received.
Beta Was this translation helpful? Give feedback.
All reactions