Vaultwarden and Caddy

Lorenzo Sintoni :fedora:@mastodon.uno to Selfhosted@lemmy.world – 5 points –

Vaultwarden and Caddy

@selfhosted

Hi guys, I can't get my vaultwarden instance to work with Caddy. I follow this guide, but I don't understand where I'm going wrong. Does anyone have a working config to share? Thanks in advance

https://github.com/dani-garcia/vaultwarden/wiki/Proxy-examples

11

You might have to share us your exact setup to get help...

Are you using a domain or subdomain? Cloudflare DNS challenge? What is going wrong, i.e. the error code 502? 404? 401? Do you have a Caddyfile to share?

Hi there! Looks like you linked to a Lemmy community using an URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !selfhosted@lemmy.world

This is because it was posted using mastodon (look at the username), which works by tagging the community by url.

I am blind, this is a bot I am replying to.

I suspect the issue is with the SSL Certificates...

For starters, do you already have a domain? If yes, which nameserver are you using?

Also more importantly, what problem do you actually have?

@Double_A

This is my suspect too. Yes, have a domain and I have no issue with snikket and nextcloud. I think i'm making mistakes compiling the caddyfile.. I'm a newbie, and i really can't get it to work. (examples for snikket and nextcloud are easier..)

@selfhosted

I'm trying to run it in a debian11 Vps. I set the A dns record for a subdomain 'vault.example..'

I'm posting the caddyfile when at home, if i solve Before i'll let you know

Many thank's

@selfhosted