api-gateway.yml
432 Bytes
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/**