fix: 修复 chat dev 网关路由和认证头配置
This commit is contained in:
@@ -309,6 +309,12 @@ static_resources:
|
||||
cluster: community_api_cluster
|
||||
timeout: 30s
|
||||
|
||||
- match:
|
||||
prefix: /api/v1/chat
|
||||
route:
|
||||
cluster: chat_api_cluster
|
||||
timeout: 30s
|
||||
|
||||
- match:
|
||||
path: /api/v1/upload
|
||||
route:
|
||||
@@ -728,6 +734,20 @@ static_resources:
|
||||
address: objectstory-api
|
||||
port_value: 8888
|
||||
|
||||
- name: chat_api_cluster
|
||||
connect_timeout: 2s
|
||||
type: STRICT_DNS
|
||||
lb_policy: ROUND_ROBIN
|
||||
load_assignment:
|
||||
cluster_name: chat_api_cluster
|
||||
endpoints:
|
||||
- lb_endpoints:
|
||||
- endpoint:
|
||||
address:
|
||||
socket_address:
|
||||
address: chat-api
|
||||
port_value: 8888
|
||||
|
||||
- name: authz_adapter_cluster
|
||||
connect_timeout: 0.5s
|
||||
type: STRICT_DNS
|
||||
|
||||
Reference in New Issue
Block a user