diff --git a/nginx/default.conf b/nginx/default.conf index 6f33542..595cf1f 100644 --- a/nginx/default.conf +++ b/nginx/default.conf @@ -14,8 +14,13 @@ server { proxy_pass http://backend; } + location /socket.io { + rewrite /backend/(.*) /$1 break; + proxy_pass http://backend; + } + location / { proxy_pass http://frontend; } -} \ No newline at end of file +}