How to set up Rocket.Chat with self-hosted Jitsi Meet in the same host?

I want to set up Rocket.Chat with self-hosted Jitsi Meet in only one host.
How to?
I’ve read this.
https://docs.rocket.chat/guides/administrator-guides/setting-up-video-conferencing#how-to-set-up-your-own-jitsi-meet-server
But this is not solved my problem.

  1. I want to set up RocketChat port 443/tcp with let’s encrypt(https).
  2. I want to set up Jitsi Meet port 443/tcp with let’s encrypt(https).

I want to set up 1 and 2 in the same server(only one server, only one global IP address).
But this is conflict 443/tcp port binding.
So I’m thinking like this

  1. https://domain.com/rocketchat
  2. https://domain.com:8443/jitsi

How to do this?

You can’t at the moment.

Both Rocket Chat and Jitsi want to be installed at the domain root (example . com/) or (sub.example . com/)

Solution: Use nginx virtual hosts and install rocket Chat FIRST so that it binds to port 443 which will cause the Jitsi install to use another for its internals.

eg: video.example . com and chat.example . com

1 Like

Thank you for your response.
That means I need at least two Linux servers?
Can I set up Jitsi Meet by changing the listening port number(e.g. 8443/tcp)?

In this scenario, which method to install rocket.chat?
Can I use snap install (of course without caddy(reason: reverse proxy is nginx))?
https://docs.rocket.chat/installation/snaps

Thanks.

You can easily do this on one server with something like haproxy running on port 443 and serving content from either RC or jitsi based on the url.

Thank you for your info.
Please more details or explained the URL…

  1. One global IP address only
  2. One domain name only
  3. One Linux server only

Can I set up Rocket.Chat and Jitsi Meet with Let’s Encrypt?

Please use basic Google searches. You would have found something like https://medium.com/trabe/multiple-ssl-configurations-in-the-same-ip-port-with-haproxy-349c7dc9a170 explaining how it works and what you need.