Skip to content

aibridge: implement proxy chaining support #1204

@ssncferreira

Description

@ssncferreira

RFC

Acceptance criteria:

  • Added & used config values: CODER_AIPROXY_UPSTREAM, CODER_AIPROXY_UPSTREAM_CA
  • CODER_AIPROXY_UPSTREAM specifies the upstream proxy URL (format: http://[user:pass@]host:port or https://[user:pass@]host:port)
  • CODER_AIPROXY_UPSTREAM_CA specifies a path to a PEM-encoded CA certificate to trust for the upstream proxy's TLS interception (required when chaining through an SSL-bumping proxy)
  • Both HTTP CONNECT tunnels and regular HTTP requests are routed through the upstream proxy
  • Proxy authentication credentials in the upstream URL are properly forwarded
  • Has tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions