From 93453f7053ad452fd1cb885d12fc416b99cf21dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <8153694@qq.com> Date: Sun, 27 Apr 2025 16:49:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8F=9C=E5=8D=95=E6=9D=83?= =?UTF-8?q?=E9=99=90=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- smart-gateway/src/main/resources/bootstrap.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/smart-gateway/src/main/resources/bootstrap.yml b/smart-gateway/src/main/resources/bootstrap.yml index fda91b20..9dcb1e83 100644 --- a/smart-gateway/src/main/resources/bootstrap.yml +++ b/smart-gateway/src/main/resources/bootstrap.yml @@ -170,6 +170,15 @@ spring: metadata: response-timeout: 200000 connect-timeout: 200000 + # 浠e姙甯姙 + - id: agent-manager + #uri: http://192.168.0.98:21080 + uri: lb://agent-manager + predicates: + - Path=/agent/** + metadata: + response-timeout: 200000 + connect-timeout: 200000 nacos: # Nacos 浣滀负娉ㄥ唽涓績鐨勯厤缃」锛屽搴� NacosDiscoveryProperties 閰嶇疆绫� discovery: -- 2.24.3