nginx httpcode:426
文章目录
- nginx代理webSocket配置如果少了proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; 这两个配置就会出现http 426报错
在location中添加
proxy_http_version 1.1;
proxy_set_header Connection "";
在location中添加
proxy_http_version 1.1;
proxy_set_header Connection "";
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论