Vaultwarden server on domain only, not ip

I have a vaultwarden in docker on a vps. Is it possible to only let people accsess it from vault.example.com instead of that and the IP? Any help appreceated :slight_smile:

Typically this is done with the use of a reverse proxy, such as Caddy which has this built-in to only accept request that match the specified domain header.

1 Like