Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Bad gateway using nginx to access vaultwarden

Featured Replies

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 by geefle

  • geefle changed the title to Bad gateway using nginx to access vaultwarden

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.