Commit f2757e0535bdab147e9148b393b12c1d0f0a4c6b
1 parent
15452dfe
Use source ip load balancing algorithm for http requests
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -108,7 +108,7 @@ backend tb-http-backend |
108 | 108 | server tbHttp2 tb-http-transport2:8081 check inter 5s resolvers docker_resolver resolve-prefer ipv4 |
109 | 109 | |
110 | 110 | backend tb-api-backend |
111 | - balance leastconn | |
111 | + balance source | |
112 | 112 | option tcp-check |
113 | 113 | option log-health-checks |
114 | 114 | server tbApi1 tb-core1:8080 check inter 5s resolvers docker_resolver resolve-prefer ipv4 | ... | ... |