瀏覽代碼

配置提交

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}/**