From 867aab7c4f4a41e9b6bb979528b638f35705d779 Mon Sep 17 00:00:00 2001 From: syruan <321359594@qq.com> Date: Mon, 1 Apr 2024 16:53:35 +0800 Subject: [PATCH] =?UTF-8?q?springbootV2=E4=B8=AD=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E6=BC=8F=E6=B4=9E=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-gateway/src/main/resources/bootstrap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sgzb-gateway/src/main/resources/bootstrap.yml b/sgzb-gateway/src/main/resources/bootstrap.yml index bbd166db..f58aa706 100644 --- a/sgzb-gateway/src/main/resources/bootstrap.yml +++ b/sgzb-gateway/src/main/resources/bootstrap.yml @@ -2,6 +2,12 @@ server: port: 8080 +# Spring Boot Actuator V2中风险漏洞处理,禁止远程端口访问 +management: + endpoint: + env: + enabled: false + # Spring spring: application: