|
@ -3,18 +3,6 @@ server:
|
|
port: ${server.web-gateway-port}
|
|
port: ${server.web-gateway-port}
|
|
context-path: ${server.context-path.svr-web-gateway-context-path}
|
|
context-path: ${server.context-path.svr-web-gateway-context-path}
|
|
|
|
|
|
eureka:
|
|
|
|
client:
|
|
|
|
healthcheck:
|
|
|
|
enabled: true #启动监控检查
|
|
|
|
instance:
|
|
|
|
#eurika使用IP不使用host
|
|
|
|
prefer-ip-address: true
|
|
|
|
#定制化在eurika中显示的名称
|
|
|
|
instance-id: ${spring.application.name}:${spring.application.instance_id:${server.port}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#zuul 默认会代理所有的微服务 路径 /{appliction.name}/**
|
|
#zuul 默认会代理所有的微服务 路径 /{appliction.name}/**
|
|
|
|
|