Example configuration for Jitsi + Coturn?

1. The problem I’m having:

I’m trying to set up reverse proxy for three services, each with their own domain/subdomain

  1. Jitsi meet
  2. Coturn
  3. Web

On the same machine.

I found a few adjacent examples:

But not 100% about the use case of TURN+Jitsi onthe same machine.

Caddy is what the Jitsi team recommends people to use. I use Apache today but couldn’t get coturn working on the same machine, so I thought I’d check out Caddy instead. Hopefully the findings here will be useful to others


I don’t think Coturn is HTTP, right? It’s a separate TCP or UDP protocol.

Caddy only ships with an HTTP server, so it can’t be used to proxy TURN traffic unless you use something like GitHub - mholt/caddy-l4: Layer 4 (TCP/UDP) app for Caddy.

You should just expose the port of your Coturn server publicly, don’t try to proxy it. It doesn’t use TLS anyway (I think) so there would be no benefit to proxying it anyway.

The other HTTP parts should be trivial to proxy with the reverse_proxy directive.

What did you try? Please completely fill out the help topic template as per the forum rules.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.