Hi Everyone!
I am currently running Caddy through the Rocket.Chat Snap and I fail to understand how to get Caddy to handle multiple subdomains.
Currently, I have a chat subdomain for my Rocket.Chat instance. My Caddyfile looks like this:
https://chat.domainname.com
proxy / localhost:3000 {
websocket
transparent
}
Now, from what I understand, to add another domain to this, all I have to do is just add this block again with a modified subdomain and port number. Is this correct? What I have tried is this:
https://bitwarden.domainname.com
proxy / localhost:8181{
websocket
transparent
}
I am trying to get Bitwarden to be SSL verified under this one caddy install as well as my Rocket.Chat instance. When I add the block above to my Caddyfile underneath the Rocket.Chat one, the Rocket.Chat subdomain doesn’t load at all. I was wondering why this would be the case.
I have tried asking on the Rocket.Chat forums, however, there hasn’t been any response, so, I figured I would ask here in case someone had this issue in the past.
Thank you for your time.