location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
报错nginx failed error: during websocket handshake
原创
©著作权归作者所有:来自51CTO博客作者chenzudao的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:自动挂载nfs
下一篇:iptables文件无法找到
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Error during WebSocket handshake 403
握手时出错403浏览器控制台错误提示Error during WebSocket handshake: Unexpected response code:
websocket socket springboot java socketjs -
Error during WebSocket handshake Unexpected response code 404
问题描述:之前部署项目websocket好好的,移植到政务云SLB指定的域名下面就出错了:Error during WebSocket han
websocket 网络 nginx 404 unexpected -
java报错:Error occurred during initialization of VM
网上找了一圈没答案。
java apache 开发语言 Java jar