heather: route MatrixRTC auth and signalling through Caddy

This commit is contained in:
heather 2026-11-05 20:02:25 +00:00
commit 720ab819fc

View file

@ -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/<name>).
# handle_path stripает /files/ prefix → file_server ищет в root.
# Не конфликтует с matrix (использует /_matrix/*, /.well-known/matrix).