I was wondering if it’s possible to have two hostname certs in BW Self-Hosted?
I have a BW Server for my family, and want to add users from my business, but I don’t necessarily want them to know they’re logging into the “home” setup… Just for consistency sake… I also don’t want to stand up another VM just to host the passwords for work…
Maybe another solution is to have 2 diffrrents folders et launch indepently 2 dockers services.
You probably have to make change in bwdata/config.yml file (change https port for example)
At last, use proxy_pass in Nginx to redirect according to yours domains.
Put Bitwarden on a separate port and then use Apache or Nginx as a reverse proxy as have site for each hostname with a separate certificate. Have Bitwarden looks for X-Forwarded-For as the Client IP header.
Not too familiar with Nginx (have been meaning to learn for a some time) but I am familiar with other reverse proxies.
You should also be able to set X-Real-IP to forward to IP address of the connecting client and forward that in to Bitwarden for logging.