From 5464f9ae2043094bc4adb9dc49960b72fa6ebbd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=95=B8=E9=9D=9E?= <13281114856@qq.com> Date: Tue, 8 Nov 2022 10:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=A8=E6=88=B7=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- smart-gateway/src/main/resources/bootstrap.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index b6f3acd8..1b2f5507 100644 --- a/deploy.sh +++ b/deploy.sh @@ -305,7 +305,7 @@ setup_nginx() { rm -rf ${NGINX_EXECPATH} mkdir -p ${NGINX_EXECPATH} - tar -zvxf ${BASEDIR}/soft/${NGINX}/${NGINX_FILENAME} -C ${NGINX_EXECPATH} --strip-components 1 + tar -zvx ${BASEDIR}/soft/${NGINX}/${NGINX_FILENAME} -C ${NGINX_EXECPATH} --strip-components 1 cd ${NGINX_EXECPATH} ./configure --prefix=${NGINX_EXECPATH} --conf-path=${NGINX_CONF} diff --git a/smart-gateway/src/main/resources/bootstrap.yml b/smart-gateway/src/main/resources/bootstrap.yml index a6c07ed8..95a14df3 100644 --- a/smart-gateway/src/main/resources/bootstrap.yml +++ b/smart-gateway/src/main/resources/bootstrap.yml @@ -69,6 +69,12 @@ spring: uri: lb://log-manager predicates: - Path=/logservice/** + # 鏍疯〃鏈嶅姟鏈嶅姟 + - id: sample-form-manager + # uri: http://127.0.0.1:17211 + uri: lb://sample-form-manager + predicates: + - Path=/sampleform/** nacos: # Nacos 浣滀负娉ㄥ唽涓績鐨勯厤缃」锛屽搴� NacosDiscoveryProperties 閰嶇疆绫� discovery: -- 2.24.3