修改gateway漏洞

This commit is contained in:
chaoluo 2024-03-25 14:51:04 +08:00
parent b8406b0f01
commit 55bac7b94b
2 changed files with 17 additions and 15 deletions

View File

@ -52,12 +52,12 @@ spring:
# url: jdbc:mysql://182.150.40.133:3309/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&useAffectedRows=true # url: jdbc:mysql://182.150.40.133:3309/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&useAffectedRows=true
# username: root # username: root
# password: 1234Qwer@ # password: 1234Qwer@
url: jdbc:mysql://182.138.107.22:3409/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true # url: jdbc:mysql://182.138.107.22:3409/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
username: gxrc # username: gxrc
password: 45Uuq5!aADGD # password: 45Uuq5!aADGD
# url: jdbc:mysql://localhost:3306/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true url: jdbc:mysql://localhost:3306/ry-vue-house?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
# username: root username: root
# password: 123456 password: 123456
# 从库数据源 # 从库数据源
slave: slave:
lazy: true lazy: true

View File

@ -267,12 +267,14 @@ lock4j:
--- # Actuator 监控端点的配置项 --- # Actuator 监控端点的配置项
management: management:
endpoints: server:
web: port: -1
exposure: # endpoints:
include: '*' # web:
endpoint: # exposure:
health: # include: '*'
show-details: ALWAYS # endpoint:
logfile: # health:
external-file: ./logs/sys-console.log # show-details: ALWAYS
# logfile:
# external-file: ./logs/sys-console.log