yassine 2 年前
父节点
当前提交
bced077701
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      api-gateway.yml

+ 2
- 2
api-gateway.yml 查看文件

9
     gateway:
9
     gateway:
10
       routes:
10
       routes:
11
         - id: account
11
         - id: account
12
-          uri: http://localhost:8082/
12
+          uri: lb://account
13
           predicates:
13
           predicates:
14
             - Path=/account/**
14
             - Path=/account/**
15
         - id: customer
15
         - id: customer
16
-          uri: http://localhost:8081/
16
+          uri: lb://customer
17
           predicates:
17
           predicates:
18
             - Path=/customer/**
18
             - Path=/customer/**
19
 
19
 

Powered by TurnKey Linux.