heather: route MatrixRTC auth and signalling through Caddy
This commit is contained in:
parent
ea620058f8
commit
720ab819fc
1 changed files with 7 additions and 0 deletions
|
|
@ -58,6 +58,13 @@ Allow: /" 200
|
||||||
|
|
||||||
# Matrix tuwunel (homeserver)
|
# Matrix tuwunel (homeserver)
|
||||||
"iscg.dev".extraConfig = ''
|
"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>).
|
# Static file sharing (https://iscg.dev/files/<name>).
|
||||||
# handle_path stripает /files/ prefix → file_server ищет в root.
|
# handle_path stripает /files/ prefix → file_server ищет в root.
|
||||||
# Не конфликтует с matrix (использует /_matrix/*, /.well-known/matrix).
|
# Не конфликтует с matrix (использует /_matrix/*, /.well-known/matrix).
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue