config.application-dev.yml Maven / Gradle / Ivy
The newest version!
# 开发环境的配置
debug: true
spring:
config:
import:
- optional:consul:consul:8500/${spring.application.name}-${spring.profiles.active}
# Spring Cloud Gateway监控
# https://docs.spring.io/spring-cloud-gateway/reference/spring-cloud-gateway/actuator-api.html
management:
endpoint:
gateway:
enabled: true
endpoints:
web:
exposure:
include: '*' # 或者配置“gateway”只暴露gateway的端点
© 2015 - 2024 Weber Informatics LLC | Privacy Policy