Fix livekit path in Matrix RTC docs.
This commit is contained in:
parent
ae3f08eb9a
commit
afbf854cfd
1 changed files with 2 additions and 7 deletions
|
|
@ -20,7 +20,7 @@ services:
|
||||||
container_name: matrix-rtc-jwt
|
container_name: matrix-rtc-jwt
|
||||||
environment:
|
environment:
|
||||||
- LIVEKIT_JWT_PORT=8081
|
- LIVEKIT_JWT_PORT=8081
|
||||||
- LIVEKIT_URL=https://matrix-rtc.yourdomain.com/livekit/sfu
|
- LIVEKIT_URL=https://matrix-rtc.yourdomain.com
|
||||||
- LIVEKIT_KEY=mrtckey
|
- LIVEKIT_KEY=mrtckey
|
||||||
- LIVEKIT_SECRET=mrtcsecret
|
- LIVEKIT_SECRET=mrtcsecret
|
||||||
- LIVEKIT_FULL_ACCESS_HOMESERVERS=yourdomain.com
|
- LIVEKIT_FULL_ACCESS_HOMESERVERS=yourdomain.com
|
||||||
|
|
@ -167,7 +167,7 @@ server {
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
# livekit
|
# livekit
|
||||||
location /livekit/sfu/ {
|
location / {
|
||||||
proxy_pass http://localhost:7880;
|
proxy_pass http://localhost:7880;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
|
||||||
|
|
@ -184,11 +184,6 @@ server {
|
||||||
proxy_read_timeout 300s;
|
proxy_read_timeout 300s;
|
||||||
proxy_send_timeout 300s;
|
proxy_send_timeout 300s;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Redirect root / at /livekit/sfu/
|
|
||||||
location = / {
|
|
||||||
return 301 /livekit/sfu/;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
2. Restart Nginx.
|
2. Restart Nginx.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue