mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Nginx Proxy Pass WSS Fails #1091
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StarScream159 on GitHub (Aug 5, 2021).
Nginx Proxy Pass WSS Fails
I have vaultwarden setup with a standard nginx install and am proxying the connection to docker. Everything works except I get an wss error in my browser and nginx log for the websocket. From what I can tell everything is correct. I see the parity_ws process listening on 0.0.0.0:3012 in the vaultwarden log and I see from docker ps that port 2013/tcp is there. I'm pretty sure my nginx config is correct with the upgrade headers. But I still get errors. Any help would be appreciated.
Deployment environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
What Happens
In my browser after logging in I see my vault. If I open my console I get the following:
In my nginx logs I see the following:
In the vaultwarden log I see that it is opening conncetions:
And when I try to load/hit the socket URL from within the container I get the expected result, so it is listening:
Troubleshooting data
My nginx config:
I'm starting the docker install with: