Snap Rocketchat 4.x and SSL


I’ve just installed the latest snap version on a vps running ubuntu 20.04. I realised when I tried to setup SSL that initcaddy isn’t available for this version. As I undertand it reading the guide, it is possible to manually set up Caddy, but after a few attempts, I realise that I just don’t understand enough to do it by myself.

Server Setup Information

  • Version of Rocket.Chat Server: 5.4.0
  • Operating System: Ubuntu 20.04
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: Don’t know where to check that
  • MongoDB Version: 5.0 2022-12-05
  • Proxy: caddy (I wish)mong

Hi! Welcome to our community :slight_smile:

You can use any kind of reverse proxy.

I believe the easiest way for doing it is to using NGINX Proxy Manager, that provides an easy web UI.

Check it out:

Well, I did try to install rocketchat with docker (snap wasn’t my first choice). I just couldn’t do it properly, there is something I don’t get in the documentation. So, yes, docker nginx is easy to install, but I can’t say the same for rocketchat (same for the documentation about manually installing Caddy, really. I’ve tried following it, but it just doesn’t work. I don’t get why).


Let me know if I can help you.

Docker is really the way we suggest, as you not only have more control, but also is what our community usually uses, so it will land you a same environment as the majority of our users.