mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-25 22:37:00 +03:00
make livekit almost work
This commit is contained in:
@@ -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 / {
|
||||
|
||||
Reference in New Issue
Block a user