- 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 "";