{"version":"2.1.85","anchor":"upstream-proxy-for-remote-sessions","canonical_anchor":"upstream-proxy-for-remote-sessions","heading":"Upstream Proxy for Remote Sessions","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.85\/e\/upstream-proxy-for-remote-sessions","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.85","markdown":"### Upstream Proxy for Remote Sessions\n\n**What**\n\nRemote Claude Code sessions can now route traffic through an upstream WebSocket proxy with automatic CA certificate management.\n\n**Details**\n\n- Activated when `CCR_UPSTREAM_PROXY_ENABLED` and `CLAUDE_CODE_REMOTE` environment variables are set\n- Reads session tokens from `\/run\/ccr\/session_token`\n- Connects to the proxy via `\/v1\/code\/upstreamproxy\/ws` WebSocket endpoint\n- Fetches CA certificates from `\/v1\/code\/upstreamproxy\/ca-cert`\n- Includes `Proxy-Authorization` header support\n- Relay listener starts on `127.0.0.1` for local proxying\n- Comprehensive error handling and logging with `[upstreamproxy]` prefix\n\n**Evidence**\n\nUpstream proxy initialization (search for `\"[upstreamproxy] enabled on 127.0.0.1\"`)"}