Browse Source

zuul config

guozhaoshun 6 years ago
parent
commit
a16e6802b6
1 changed files with 8 additions and 0 deletions
  1. 8 0
      local/zuul-service-local.properties

+ 8 - 0
local/zuul-service-local.properties

@@ -0,0 +1,8 @@
+eureka.client.service-url.defaultZone=http://127.0.0.1:8821/eureka/
+
+zuul.routes.api-a.path=/api-product/**
+zuul.routes.api-a.service-id=product-service
+
+zuul.routes.api-b.path=/api-user/**
+zuul.routes.api-b.service-id=user-service
+