Changes: 1. Added map for proper WebSocket upgrade handling 2. Changed Connection header from literal 'upgrade' to variable 3. Added proxy_send_timeout 7d to prevent premature connection closure 4. Disabled proxy_buffering and proxy_request_buffering for WebSocket 5. Added proxy_request_buffering off for better WebSocket performance These changes should fix the WebSocket closure issue that was preventing commands from being sent to the terminal.
32 KiB
32 KiB