mirror of
https://github.com/vector-im/element-call.git
synced 2026-08-29 21:15:19 +00:00
DevX: Properly serve the well-known for local backend
This commit is contained in:
@@ -16,7 +16,7 @@ server {
|
|||||||
# currently rely for local development environment on deprecated config.json
|
# currently rely for local development environment on deprecated config.json
|
||||||
# setting for livekit_service_url
|
# setting for livekit_service_url
|
||||||
location /.well-known/matrix/client {
|
location /.well-known/matrix/client {
|
||||||
return 200 '{"m.homeserver": {"base_url": "http://synapse.localhost:8008"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "http://localhost:8080"}]}';
|
return 200 '{"m.homeserver": {"base_url": "http://synapse.localhost:8008"}, "org.matrix.msc4143.rtc_foci": [{"type": "livekit", "livekit_service_url": "http://localhost:8009"}]}';
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,6 +92,8 @@ services:
|
|||||||
# HOST_PORT:CONTAINER_PORT
|
# HOST_PORT:CONTAINER_PORT
|
||||||
- "8008:80"
|
- "8008:80"
|
||||||
- "4443:443"
|
- "4443:443"
|
||||||
|
- "80:80"
|
||||||
|
- "443:443"
|
||||||
depends_on:
|
depends_on:
|
||||||
- synapse
|
- synapse
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user