Jelajahi Sumber

zuul config

guozhaoshun 6 tahun lalu
induk
melakukan
a16e6802b6
1 mengubah file dengan 8 tambahan dan 0 penghapusan
  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
+