diff --git a/hosts/heather/caddy.nix b/hosts/heather/caddy.nix index 5bea89a..a32ee3c 100644 --- a/hosts/heather/caddy.nix +++ b/hosts/heather/caddy.nix @@ -58,6 +58,13 @@ Allow: /" 200 # Matrix tuwunel (homeserver) "iscg.dev".extraConfig = '' + # MatrixRTC signalling and auth share the existing TLS hostname. + handle_path /livekit/jwt/* { + reverse_proxy 127.0.0.1:8081 + } + handle_path /livekit/sfu/* { + reverse_proxy 127.0.0.1:7880 + } # Static file sharing (https://iscg.dev/files/). # handle_path stripает /files/ prefix → file_server ищет в root. # Не конфликтует с matrix (использует /_matrix/*, /.well-known/matrix).