From 79f039f45715a8db71f27188020fcd612e33d005 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Sat, 28 Sep 2024 13:23:21 +0800 Subject: [PATCH] =?UTF-8?q?springboot=E6=9C=AA=E6=8E=88=E6=9D=83=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E6=BC=8F=E6=B4=9E=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sgzb-material/src/main/resources/bootstrap.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml b/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml index 887ac88..7c7d1c5 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml +++ b/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml @@ -5,4 +5,11 @@ spring: name: sgzb-material profiles: # 环境配置 - active: sgzb_cq_local + active: sgzb_nw_local + + +# Spring Boot Actuator V2中风险漏洞处理,禁止远程端口访问 +management: + endpoint: + env: + enabled: false