Skip to content

Catch up v2-rc2 to develop branch - #1718

Merged
TheLastCicada merged 3 commits into
v2-rc2from
develop
Jul 27, 2026
Merged

Catch up v2-rc2 to develop branch #1718
TheLastCicada merged 3 commits into
v2-rc2from
develop

Conversation

@TheLastCicada

@TheLastCicada TheLastCicada commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Note

Low Risk
Docs-only nginx config change; low blast radius but misconfiguration could break live WebSocket features behind the proxy.

Overview
Nginx reverse proxy for the CADT API (localhost:31310) now supports WebSocket upgrades on the root location / block.

A map on $http_upgrade sets $connection_upgrade to upgrade or close, and the proxy uses HTTP/1.1 with Upgrade and Connection headers forwarded—standard pattern so WebSocket traffic is not broken when clients connect through nginx instead of directly to the API.

Reviewed by Cursor Bugbot for commit 3156e06. Bugbot is set up for automated code reviews on this repo. Configure here.

The sample reverse proxy is expected to carry CADT Socket.IO traffic
as well as ordinary HTTP API requests. Forward the upgrade headers so
clients can connect through the documented nginx path.
fix: proxy websocket upgrades in nginx sample
@TheLastCicada
TheLastCicada merged commit 86cab58 into v2-rc2 Jul 27, 2026
34 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant