Myleslewis Posted March 29, 2022 Share Posted March 29, 2022 After following your guide to set up NGINX Proxy Manager (I previously used swag for Nextcloud), I got this set up with relative ease. Thanks for the tutorials Quote Link to comment
B4rny Posted April 16, 2022 Share Posted April 16, 2022 I think you missed setting up WebSocket. Without, Vaultwarden doesn't sync instantly, and you have to relog or sync other Applications manually. Maybe it was just me, but when I check my Browser Console (F12 > Console), I had multiple WebSocket errors. After a bit of research, I found this, and it worked. The first entry has nothing to do with the WebSocket and just blocks external /admin access. I think that's also a good idea. The Port 3012 is the WebSocket, so don't change it. Go to the Proxy Host inside Nginx Proxy Manager and add this to the Advanced Tab. location /admin { return 404; } location / { proxy_pass http://<ip>:<port>; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } location /notifications/hub { proxy_pass http://<ip>:3012; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } location /notifications/hub/negotiate { proxy_pass http://<ip>:<port>; } Or if you want to use the Custom locations Tab, here's what it looks like. When you now refresh Vaultwarden, log in to your vault and check the Browser Console (F12 > Console), there should be no red error and something like this. [date] Information: WebSocket connected to wss://<domain>/notifications/hub?access_token=<token> Anyway, thanks for all your videos. I learned a lot from your channel. Without you, I wouldn't be using Unraid today. Quote Link to comment
TurboStreetCar Posted April 16, 2022 Share Posted April 16, 2022 Is it possible to set this up using DuckDNS? Im a noob, and ive been trying to set up a proxy with DuckDNS and SSL, and i feel like my eyes are crossed now. Theres so many tutorials, and all the apps have changed over time. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.