← 返回动态

宝塔nginx 反代code server报错

An unexpected error occurred that requires a reload of this page.
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)
报错内容这个 无限让你刷新页面,搜索了很多内容都是说让你添加ws支持什么的,实际上只要添加一段代码到反代配置里就能解决

[pre]proxy_set_header X-Forwarded-Host $http_host;[/pre]

☏ 评论

互动留言(0)

留下一条评论