devx: Enable msc4143 on other homeserver (remove well-known)

This commit is contained in:
Valere
2026-04-01 11:28:12 +02:00
parent bb7b2d1060
commit ae78cbb51a
2 changed files with 9 additions and 1 deletions

View File

@@ -60,7 +60,8 @@ server {
# setting for livekit_service_url
location /.well-known/matrix/client {
add_header Access-Control-Allow-Origin *;
return 200 '{"m.homeserver": {"base_url": "https://synapse.othersite.m.localhost"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "https://matrix-rtc.othersite.m.localhost/livekit/jwt"}]}';
# synapse.othersite supports /rtc/transport so remove the livekit_service_url from auto-discovery as it is not needed.
return 200 '{"m.homeserver": {"base_url": "https://synapse.othersite.m.localhost"}}';
default_type application/json;
}