websocket项目连接失败问题
- websocket项目访问,请求websocket项目的http的连接出现了403问题;
解决方法:需要nigx配置主要是这三个配置
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Origin "";
参考网络链接(Nginx不能转发带有websocket功能的项目解决方案)http://www.zxzulu.com/article/1592024964000