Commit fbcbea0b authored by chonghaohao's avatar chonghaohao

Update haproxy.cfg

parent 60335100
...@@ -130,16 +130,16 @@ backend iot-inteface-backend ...@@ -130,16 +130,16 @@ backend iot-inteface-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks option log-health-checks
server iot-inteface 192.168.201.2:8080 check inter 5s resolvers docker_resolver resolve-prefer ipv4 server iot-inteface 10.10.39.251:8080 check inter 5s resolvers docker_resolver resolve-prefer ipv4
backend dbapi-backend backend dbapi-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks option log-health-checks
server dbapi 192.168.201.2:8520 check inter 5s resolvers docker_resolver resolve-prefer ipv4 server dbapi 10.10.39.251:8520 check inter 5s resolvers docker_resolver resolve-prefer ipv4
backend job-backend backend job-backend
balance leastconn balance leastconn
option tcp-check option tcp-check
option log-health-checks option log-health-checks
server job 192.168.201.2:8082 check inter 5s resolvers docker_resolver resolve-prefer ipv4 server job 10.10.39.251:8082 check inter 5s resolvers docker_resolver resolve-prefer ipv4
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment