Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

NGINX on Unraid with self-signed certificate (local access only)

 Share

Hi,

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

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×