Skip to content

Commit

Permalink
fix: ws
Browse files Browse the repository at this point in the history
  • Loading branch information
hai-ko committed Oct 24, 2023
1 parent 3603bde commit aa0a817
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ http {
}

location /socket.io {
proxy_pass http://backend:8081/socket.io/;
rewrite ^/api(.*)$ $1 break;
rewrite_log on;
proxy_pass http://backend:8081;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
Expand Down

0 comments on commit aa0a817

Please sign in to comment.