geefle Posted June 29, 2022 Share Posted June 29, 2022 (edited) I have an Unraid NAS for a couple of months now. I do not want it to be accessible from the outside to minimize the risk of being hacked Among other things I installed Vaultwarden in a docker container and that#s when my problems started vaultwarden needs https, and to enable this you need a reverse proxy. So I installed Nginx and configured it to get a let's encrypt certificate. For that the NAS needs to be visible from outside. I looked into creating my own CA and SSL certificates and ran into one problem after another. I think now I amat a point where I almost figured it out but I hit a wall. So I created a CA and a certificate, that has all my subdomains in the SAN entry. I installed the certificate chain on the Unraid srever and also on my clients so now when I access the Unraid GUI the connection is secure. I also added the certificate to Nginx and configured the connection for vaultwarden to use it. Nginx is running on 192.168.0.84 Vaultwarden on 192.168.0.82:4545 the DNS (using pihole) entry vaultwarden.home points to 192.168.0.84 When I now access the URL https://vaultwarden.home I get the error bad gateway. I have no idea why this is not working. When I access vaultwarden using http://192.168.0.82:4545 I hope someone can help me or point me in the right direction. Cheers, Mav Edited June 29, 2022 by geefle 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.