如果使用ngix代理 需要设置一下 proxy_pass http://backend; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 参见 http://blog.csdn.net/zhx6044/article/details/50278765 http://nginx.org/en/docs/http/websocket.html
5,655
社区成员
20,181
社区内容
加载中
试试用AI创作助手写篇文章吧