Files
SpringBoot-Learning/Chapter9-1-5/api-gateway/src/main/resources/application.properties
T
2016-07-22 16:33:15 +08:00

17 lines
419 B
Properties

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
zuul.routes.api-b.path=/api-b/**
zuul.routes.api-b.serviceId=service-B
# routes to url
zuul.routes.api-a-url.path=/api-a-url/**
zuul.routes.api-a-url.url=http://localhost:2222/
eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/