fix: springboot admin 过期属性

This commit is contained in:
xingyu 2022-07-25 02:26:04 +00:00 committed by Gitee
parent 4fe3da058c
commit f01140f3c2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ spring:
client: client:
url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path} # 设置 Spring Boot Admin Server 地址 url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path} # 设置 Spring Boot Admin Server 地址
instance: instance:
prefer-ip: true # 注册实例时,优先使用 IP service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
# Spring Boot Admin Server 服务端的相关配置 # Spring Boot Admin Server 服务端的相关配置
context-path: /admin # 配置 Spring context-path: /admin # 配置 Spring

View File

@ -156,7 +156,7 @@ spring:
client: client:
url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path} # 设置 Spring Boot Admin Server 地址 url: http://127.0.0.1:${server.port}/${spring.boot.admin.context-path} # 设置 Spring Boot Admin Server 地址
instance: instance:
prefer-ip: true # 注册实例时,优先使用 IP service-host-type: IP # 注册实例时,优先使用 IP [IP, HOST_NAME, CANONICAL_HOST_NAME]
# Spring Boot Admin Server 服务端的相关配置 # Spring Boot Admin Server 服务端的相关配置
context-path: /admin # 配置 Spring context-path: /admin # 配置 Spring