feat(chat): send online user in a single socketio message

This commit is contained in:
Maieul BOYER 2025-12-18 13:51:06 +01:00 committed by Maix0
parent 41fdbfbaaa
commit bcba86ed8a
9 changed files with 42 additions and 78 deletions

View file

@ -1,4 +1,4 @@
#forward the post request to the microservice
location /api/auth/ {
proxy_pass http://auth;
proxy_pass http://app-auth;
}

View file

@ -1,6 +1,6 @@
#forward the post request to the microservice
location /api/chat/ {
proxy_pass http://chat;
proxy_pass http://app-chat;
}
location /api/chat/socket.io/ {
@ -10,5 +10,5 @@ location /api/chat/socket.io/ {
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_read_timeout 3600s;
proxy_pass http://chat;
proxy_pass http://app-chat;
}

View file

@ -1,4 +1,4 @@
#forward the post request to the microservice
location /api/user/ {
proxy_pass http://user;
proxy_pass http://app-user;
}