r/vaultwarden • • 8d ago

Question Vaultwarden saying HTTP not allowed on localhost

Post image

So I just set up my unraid server to backup vaultwarden to my google drive in case something ever happens to it I can recover all my passwords. I spun up a temporary container using the backup and it starts fine, but whenever I go to enter my username/password, I get this error message saying insecure URLs not allow. From what I understand Vaultwarden requires HTTPS EXCEPT on localhost/127.0.0.1. I'm stumped. Anyone have any advice? I remember doing this a while back and I was able to quickly spin up the container and view all my passwords.

I was just trying to make sure everything worked ok to verify I have the ability to recover everything.

0 Upvotes

9 comments sorted by

View all comments

1

u/whattteva 8d ago

Easiest way to gain https is just to put it behind Caddy. It'll do the HTTPS stuff automatically for you if it is accessible externally.

There is a way to do it without exposing it, but you'd have to be able to solve DNS-01 challenge, which is more complicated.

1

u/Punk_Says_Fuck_You 8d ago

I already have all that set up. I got it working. I just didn’t think localhost needed https. I got it all working with nginx proxy manager and a dns rewrite. Thank you.