From 1ee2760a7cba47414b6600a8a91ad805671c9efe Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Mon, 26 Aug 2024 20:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/bootstrap.yml | 31 +------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/sgzb-modules/sgzb-base/src/main/resources/bootstrap.yml b/sgzb-modules/sgzb-base/src/main/resources/bootstrap.yml index 6d001dd9..ad4fa1b2 100644 --- a/sgzb-modules/sgzb-base/src/main/resources/bootstrap.yml +++ b/sgzb-modules/sgzb-base/src/main/resources/bootstrap.yml @@ -2,13 +2,6 @@ server: port: 29301 - -# Spring Boot Actuator V2中风险漏洞处理,禁止远程端口访问 -management: - endpoint: - env: - enabled: false - # Spring spring: application: @@ -16,26 +9,4 @@ spring: name: sgzb-base profiles: # 环境配置 - active: sgzb_cloud_local - cloud: - loadbalancer: - # 关闭Ribbon的负载均衡器 - ribbon: - enabled: false - # 开启Nacos的负载均衡器 - nacos: - enabled: true - nacos: - discovery: - # 服务注册地址 - server-addr: 127.0.0.1:8848 - namespace: sgzb_cloud_dev_nxjj - config: - # 配置中心地址 - server-addr: 127.0.0.1:8848 - namespace: sgzb_cloud_dev_nxjj - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + active: sgzb_cloud_local \ No newline at end of file