Spring Cloud构建微服务架构(五)服务网关
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
spring.application.name=api-gateway
|
||||
server.port=5555
|
||||
|
||||
zuul.ignoredServices="*"
|
||||
|
||||
# routes to serviceId
|
||||
zuul.routes.api-a.path=/api-a/**
|
||||
zuul.routes.api-a.serviceId=service-A
|
||||
|
||||
Reference in New Issue
Block a user