From b969857583bee2dac8db8ada0c8b49adddfd1c6c Mon Sep 17 00:00:00 2001 From: fkwp Date: Thu, 22 May 2025 12:49:37 +0200 Subject: [PATCH] Allow the jwt service to be running locallay rather than part of the docker-compose. This helps with developing the lk-jwt-service --- backend/dev_nginx.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/backend/dev_nginx.conf b/backend/dev_nginx.conf index 44fef8a5..af370d2e 100644 --- a/backend/dev_nginx.conf +++ b/backend/dev_nginx.conf @@ -43,6 +43,11 @@ server { # MatrixRTC reverse proxy # - MatrixRTC Authorization Service # - LiveKit SFU websocket signaling connection +upstream jwt-auth-services { + server auth-server:8080; + server host.docker.internal:8080; +} + server { listen 80; listen [::]:80; @@ -63,7 +68,8 @@ server { proxy_set_header X-Forwarded-Proto $scheme; # JWT Service running at port 8080 - proxy_pass http://auth-server:8080/; + proxy_pass http://jwt-auth-services/; + } location ^~ /livekit/sfu/ {