nginx tcp负载均衡模块 配置方法: tcp { upstream nettyserver { server 192.168.3.57:9000; server 192.168.3.57:8000; check interval=3000 rise=2 fall=5 timeout=10000; } server { listen 26888; proxy_pass nettyserver; } upstream zookeeper { server 192.168.3.57:3181; check interval=3000 rise=2 fall=