fix(docs): Put lengthy Caddyfile in details div section

This commit is contained in:
stratself authored and Ellis Git committed 2026-08-04 18:18:54 +00:00
1 parent c2641488bf
commit 486b50f328
1 file changed
+6
+6
View File
@@ -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
<details>
<summary>Caddyfile</summary>
```
{
servers {
@@ -264,6 +268,8 @@ https://livekit.example.com {
}
```
</details>
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