mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 14:31:09 +03:00
make livekit almost work
This commit is contained in:
@@ -17,7 +17,11 @@
|
||||
"default_widget_container_height": 280,
|
||||
"default_country_code": "${COUNTRY}",
|
||||
"show_labs_settings": false,
|
||||
"features": {},
|
||||
"features": {
|
||||
"feature_video_rooms": true,
|
||||
"feature_group_calls": true,
|
||||
"feature_element_call_video_rooms": true
|
||||
},
|
||||
"default_federate": true,
|
||||
"default_theme": "light",
|
||||
"room_directory": {
|
||||
@@ -27,8 +31,7 @@
|
||||
"breadcrumbs": true
|
||||
},
|
||||
"element_call": {
|
||||
"url": "https://${ELEMENT_CALL_FQDN}",
|
||||
"brand": "Element Call"
|
||||
"url": "https://${ELEMENT_CALL_FQDN}"
|
||||
},
|
||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||
}
|
||||
@@ -86,6 +86,9 @@ policy:
|
||||
admin_users:
|
||||
- admin
|
||||
|
||||
account:
|
||||
password_registration_enabled: false
|
||||
|
||||
branding:
|
||||
service_name: null
|
||||
policy_uri: null
|
||||
|
||||
@@ -66,7 +66,7 @@ server {
|
||||
include /etc/nginx/conf.d/include/ssl.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://element-call;
|
||||
proxy_pass http://element-call:8080;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
}
|
||||
}
|
||||
@@ -84,6 +84,18 @@ server {
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
server_name ${LIVEKIT_FQDN};
|
||||
server_tokens off;
|
||||
|
||||
include /etc/nginx/conf.d/include/ssl.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://livekit:7880;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
server_name ${HOMESERVER_FQDN};
|
||||
server_tokens off;
|
||||
@@ -106,21 +118,25 @@ server {
|
||||
location ~ ^/_matrix/client/(r0|v3)/sync${DOLLAR} {
|
||||
proxy_pass http://synapse-generic-worker-1:8081;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3)/events${DOLLAR} {
|
||||
proxy_pass http://synapse-generic-worker-1:8081;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3)/initialSync${DOLLAR} {
|
||||
proxy_pass http://synapse-generic-worker-1:8081;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||
}
|
||||
|
||||
location ~ ^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync${DOLLAR} {
|
||||
proxy_pass http://synapse-generic-worker-1:8081;
|
||||
proxy_set_header X-Forwarded-For ${DOLLAR}remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto ${DOLLAR}scheme;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"org.matrix.msc4143.rtc_foci": [
|
||||
{
|
||||
"type": "livekit",
|
||||
"livekit_service_url": "https://${ELEMENT_CALL_FQDN}"
|
||||
"livekit_service_url": "https://${LIVEKIT_FQDN}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user