hulengjing 我们外部有一个nginx做了转发到了console的nodeport上走的七层https,修改资源的时候经常出现500,但是内容又是修改了的 请问是什么问题 error sending request: http: invalid Read on closed Body
sslyc8991 估计是websocket的配置不对,不能无脑upgrade,需要根据情况。 map $http_upgrade $connection_upgrade { default Upgrade; '' close; } 然后 proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade;
hulengjing 直接访问nodeport nodeport没任何问题,是w’s’s wss协议转发的问题,加入 map $http_upgrade $connection_upgrade { default Upgrade; '' close; } server{ proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } 后https协议也正常了 辛苦梁文