Nginx代理转发TCP 10.0.85.188 上面部署Nginx,监听8*** 端口接收报文并转发报文到相应服务器,实现服务器间基于TCP协议的报文转发。 Nginx配置文件为: stream { upstream cloudsocket-o{ hash $remote_addr consistent; server 10.0.80.127:7012; } upstream cloudsocket-t{ hash $remote_addr consistent;