chenweida 8 年 前
コミット
896361ac68
1 ファイル変更0 行追加12 行削除
  1. 0 12
      web-gateway.yml

+ 0 - 12
web-gateway.yml

@ -3,18 +3,6 @@ server:
  port: ${server.web-gateway-port}
  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}/**