Blame view

config-repo/api-gateway.yml 431 Bytes
83e6998f   liuzhaolu   zuul的配置文件
1
2
3
4
5
6
  server:
    port: 5000
    
  zuul:
    SendErrorFilter:
       error:
a8a5b9bd   liuzhaolu   更改过滤器
7
          disable: false
855353bf   liuzhaolu   更改配置
8
9
10
    ThrowExceptionFilter: 
       pre:
           disable: true
a8a5b9bd   liuzhaolu   更改过滤器
11
12
13
    ErrorFilter:
       error:
           disable: true
83e6998f   liuzhaolu   zuul的配置文件
14
15
16
17
18
19
20
21
22
23
24
    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
eef1379a   liuzhaolu  
25
          path: /ccc/**