springboot未授权访问漏洞修改

This commit is contained in:
liang.chao 2024-09-28 13:23:21 +08:00
parent 53e4094974
commit 79f039f457
1 changed files with 8 additions and 1 deletions

View File

@ -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