49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
# yaml-language-server: $schema=https://agentgateway.dev/schema/config
|
|
# Format binds — workaround pour le bug UI "e.binds.forEach"
|
|
# Note: OpenRouter (hostOverride) incompatible avec le format binds, voir config.yaml
|
|
|
|
config:
|
|
adminAddr: 0.0.0.0:15000
|
|
|
|
binds:
|
|
- port: 4000
|
|
listeners:
|
|
- protocol: HTTPS
|
|
tls:
|
|
cert: /etc/ssl/agentgateway/server.crt
|
|
key: /etc/ssl/agentgateway/server.key
|
|
minTLSVersion: TLS_V1_2
|
|
routes:
|
|
- matches:
|
|
- path:
|
|
pathPrefix: /claude-sonnet-4-6
|
|
backends:
|
|
- ai:
|
|
name: claude-sonnet-4-6
|
|
provider:
|
|
anthropic:
|
|
model: claude-sonnet-4-6
|
|
policies:
|
|
backendAuth:
|
|
key: "$ANTHROPIC_API_KEY"
|
|
|
|
- port: 9001
|
|
listeners:
|
|
- protocol: HTTPS
|
|
tls:
|
|
cert: /etc/ssl/agentgateway/server.crt
|
|
key: /etc/ssl/agentgateway/server.key
|
|
minTLSVersion: TLS_V1_2
|
|
routes:
|
|
- matches:
|
|
- path:
|
|
pathPrefix: /jira
|
|
backends:
|
|
- mcp:
|
|
targets:
|
|
- name: jira
|
|
mcp:
|
|
host: mcp-jira
|
|
port: 9000
|
|
path: /mcp
|