Logo white

刘兆录 / project-config

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • project-config
  • config-repo
  • api-gateway.yml
  • test
    10b25b8e
    liuzhaolu authored
    2018-01-26 11:51:04 +0800  
    Browse Code »
api-gateway.yml 432 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
server:
  port: 5000
  
zuul:
  SendErrorFilter:
     error:
        disable: false
  ThrowExceptionFilter: 
     pre:
         disable: true
  ErrorFilter:
     error:
         disable: false
  prefix: /api
  add-host-header: true
  routes:
    api-a:
        service-id: HELLOSERVER
        path: /a/**
    api-b:
        service-id: HELLOSERVER
        path: /d/**
    api-c:
        service-id: HELLOSERVER
        path: /ccc/**