feat(chat): send online user in a single socketio message
This commit is contained in:
parent
41fdbfbaaa
commit
bcba86ed8a
9 changed files with 42 additions and 78 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#forward the post request to the microservice
|
||||
location /api/auth/ {
|
||||
proxy_pass http://auth;
|
||||
proxy_pass http://app-auth;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#forward the post request to the microservice
|
||||
location /api/user/ {
|
||||
proxy_pass http://user;
|
||||
proxy_pass http://app-user;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue