ncs:
Hi everyone,
I had trouble getting Websocket support on my Bitwarden_rs Docker + Reverse Proxy Synology setup to work but in the end was able to build a working solution without having to use SSH.
I’m not sure if my steps will work for everyone but I’ve put them into a note below. Please let me know if you have any feedback or suggestions:
Synology Bitwarden_rs Websocket setup without SSH · GitHub
-Norman
Hello,
This script make possible websocket notification when using synology DSM Reverse-proxy.
Thanks for your work.
I slightly modified the script by setting the ip address instead of localhost to have it working. And add a \ before " for this : "upgrade".
(I also add some comments, and echo to have a trace in the log)
enable_ws.sh
#!/bin/bash
LOC_DIR="/etc/nginx"
if [ ! -f $LOC_DIR/ws.locations ]; then
echo """
location /notifications/hub {
proxy_pass http://localhost:$3;
proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection "upgrade";
This file has been truncated. show original
synology_bitwarden_websocket.md
# Synology Bitwarden_rs Websocket Setup
Below steps allow you to setup Websocket support for your Bitwarden_rs installation running on Synology Diskstation. You can do all steps using the GUI so there is no SSH Access needed.
## Prerequisites
* Working HTTPS Reverse proxy Setup (Control Panel -> Application Portal -> Reverse Proxy)
* Set Enviourment Variable `WEBSOCKET_ENABLED=true` in your Bitwarden container and expose the container port `3012` to a local port, in my case `5556`.
## Upload script
This file has been truncated. show original