Skip to content

Commit b969857

Browse files
committed
Allow the jwt service to be running locallay rather than part of the docker-compose. This helps with developing the lk-jwt-service
1 parent aeae964 commit b969857

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

backend/dev_nginx.conf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ server {
4343
# MatrixRTC reverse proxy
4444
# - MatrixRTC Authorization Service
4545
# - LiveKit SFU websocket signaling connection
46+
upstream jwt-auth-services {
47+
server auth-server:8080;
48+
server host.docker.internal:8080;
49+
}
50+
4651
server {
4752
listen 80;
4853
listen [::]:80;
@@ -63,7 +68,8 @@ server {
6368
proxy_set_header X-Forwarded-Proto $scheme;
6469

6570
# JWT Service running at port 8080
66-
proxy_pass http://auth-server:8080/;
71+
proxy_pass http://jwt-auth-services/;
72+
6773
}
6874

6975
location ^~ /livekit/sfu/ {

0 commit comments

Comments
 (0)