yassine 1 year ago
parent
commit
bced077701
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      api-gateway.yml

+ 2
- 2
api-gateway.yml View File

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.