From 007d8934e80b9afcdb024bf9d6a29e1031b97724 Mon Sep 17 00:00:00 2001 From: mashuai Date: Tue, 21 May 2024 10:08:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=B4=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml b/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml index 5e400e16..1a14d54d 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml +++ b/sgzb-modules/sgzb-material/src/main/resources/bootstrap.yml @@ -32,3 +32,9 @@ spring: # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + +# 禁用Actuator端点的未经身份验证的访问 +management: + endpoint: + env: + enabled: false \ No newline at end of file