springbootV2中风险漏洞处理

This commit is contained in:
syruan 2024-04-01 16:53:35 +08:00 committed by liang.chao
parent 2cba276c88
commit 867aab7c4f
1 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,12 @@
server: server:
port: 8080 port: 8080
# Spring Boot Actuator V2中风险漏洞处理禁止远程端口访问
management:
endpoint:
env:
enabled: false
# Spring # Spring
spring: spring:
application: application: