mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add TLS listener support to aibridgeproxyd (#22411)
## Description Adds optional TLS support for the AI Bridge Proxy listener. When TLS cert and key files are provided, the proxy serves over HTTPS instead of plain HTTP. ## Changes * New configuration options to enable TLS on the proxy listener * Wraps the TCP listener in `tls.NewListener` when configured * Tests for validation errors, invalid files, and full integration (tunneled + MITM) through a TLS listener Note: Documentation for TLS listener setup and client configuration will be handled in a follow-up PR. Related to: https://github.com/coder/internal/issues/1335
This commit is contained in:
Generated
+20
@@ -1912,6 +1912,26 @@ Enable the AI Bridge MITM Proxy for intercepting and decrypting AI provider requ
|
||||
|
||||
The address the AI Bridge Proxy will listen on.
|
||||
|
||||
### --aibridge-proxy-tls-cert-file
|
||||
|
||||
| | |
|
||||
|-------------|--------------------------------------------------|
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_AIBRIDGE_PROXY_TLS_CERT_FILE</code> |
|
||||
| YAML | <code>aibridgeproxy.tls_cert_file</code> |
|
||||
|
||||
Path to the TLS certificate file for the AI Bridge Proxy listener. Must be set together with AI Bridge Proxy TLS Key File.
|
||||
|
||||
### --aibridge-proxy-tls-key-file
|
||||
|
||||
| | |
|
||||
|-------------|-------------------------------------------------|
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_AIBRIDGE_PROXY_TLS_KEY_FILE</code> |
|
||||
| YAML | <code>aibridgeproxy.tls_key_file</code> |
|
||||
|
||||
Path to the TLS private key file for the AI Bridge Proxy listener. Must be set together with AI Bridge Proxy TLS Certificate File.
|
||||
|
||||
### --aibridge-proxy-cert-file
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user