Blame view

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