Blame view

config-repo/api-gateway.yml 365 Bytes
83e6998f   liuzhaolu   zuul的配置文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  server:
    port: 5000
    
  zuul:
    SendErrorFilter:
       error:
          disable: true
    prefix: /api
    add-host-header: true
    routes:
      api-a:
          service-id: helloserver
          path: /a/**
      api-b:
          service-id: helloserver
          path: /b/**
      api-c:
          service-id: helloserver
          path: /ccc/**
  ribbon:
      eureka:
          enabled: false