upstream tcp9092 { server 10.13.8.59:9092; } upstream tcp9093 { server 10.13.76.7:9093; } upstream tcp9094 { server 10.13.79.81:9094; } server { listen 9092; proxy_connect_timeout 8s; proxy_timeout 24h; proxy_pass tcp9004; } server { listen 9093; proxy_connect_timeout 8s; proxy_timeout 24h; proxy_pass tcp9093; } server { listen 9094; proxy_connect_timeout 8s; proxy_timeout 24h; proxy_pass tcp9094; }