瀏覽代碼

zuul config

guozhaoshun 6 年之前
父節點
當前提交
a16e6802b6
共有 1 個文件被更改,包括 8 次插入0 次删除
  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
+