-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ws和http如何共存 #45
Comments
4.x 有在计划支持,目前的话,你可以通过前置 nginx 来实现端口复用(区分路径) |
那大佬,我上传的静态资源到本地服务器如何打开呢,还是说我只能通过nginx请求代理这个资源目录才行,话说有么有一个完整的文字教程或者视频教程进行整个框架的融合贯通呀 |
单机部署的话,nginx 可以很好的满足你的需求。 |
|
对了大佬还有个疑问,为何我在客户端只开了一个窗口,在server.connections中却有两个,我是在做call.conn.userId案例打印server.connections时候发现的 |
|
这个情况,应该是浏览器还开了一个吧。 |
就是期待端口复用,之所以有这个疑问是因为我用WsServer上传的附件无法给前端访问
The text was updated successfully, but these errors were encountered: