diff --git a/docs/calls/turn.mdx b/docs/calls/turn.mdx index 9a029c388..887327622 100644 --- a/docs/calls/turn.mdx +++ b/docs/calls/turn.mdx @@ -231,6 +231,10 @@ Below is an example of using Caddy-l4 on the host to: - Route `turn.example.com` to the TURNS port for Coturn without TLS termination, and - Route `livekit.example.com` to the [LiveKit services](./livekit.mdx) with TLS termination by Caddy +
+ +Caddyfile + ``` { servers { @@ -264,6 +268,8 @@ https://livekit.example.com { } ``` +
+ You can now advertise `turns:turn.example.com:443?transport=tcp` as an address in your `turn_uris` as well as LiveKit. Please note that all traffic from Coturn's perspective will be coming from caddy-l4's IP now. [caddy-l4]: https://github.com/mholt/caddy-l4