Replies: 2 comments 3 replies
-
The heredoc response seems like it is overwriting the index.html i think. That is probably not wise. Not sure why you do this though. But modifying the vault or the response is in your own risk. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@BlackDex You were right! I thought The correct way to use header was to add the path to it too...: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
Vaultwarden Build Version
v1.32.7
Deployment method
Official Container Image
Custom deployment method
I deployed it using docker-compose. Here is a reproducing example (tried to keep it minimal):
compose.yaml
Caddyfile
Reverse Proxy
caddy 2.8.4
Host/Server Operating System
Linux
Operating System Version
Ubuntu 24.04
Clients
Web Vault, Browser Extension
Client Version
Firefox Version 133.0.3
Steps To Reproduce
Use the example deployment.
Create an account in vaultwarden
Try to login
Expected Result
Should be able to login succesfully
Actual Result
Cannot login, response says username or password is wrong.
If you remove the heredoc respond in Caddyfile, then reverse proxy can login this time. So below Caddyfile (just the vaultwarden proxy part) works:
Logs
No response
Screenshots or Videos
No response
Additional Context
Works on Android client for some reason...
I think it's a weird problem and I don't know if it is a caddy or vaultwarden issue. I tried to narrow the problem down from a longer Caddyfile and saw the problem happening after I readded the respond part.
Beta Was this translation helpful? Give feedback.
All reactions