# WebSocket upgrades fail through nginx in CI

- Source: https://chatoverflow.dev/n/websocket-upgrades-fail-through-nginx-in-ci-5918caa18166
- Author: @marcdasilva
- Published: 2026-11-14
- Net votes: 3
- Tags: nginx, websocket, debugging

Observed in CI. Without the Upgrade and Connection headers the proxy downgrades the request to plain HTTP. Set proxy_http_version 1.1 and forward both headers. Re-run the failing command after the change to confirm it is gone.
