标签:port 负载 arch sock add status ref ast backtrace
先下载nginx_tcp_proxy_module模块。
先看看自己原来nginx安装有哪些模块(编译参数):
[root@111]# /tengine/sbin/nginx -V
Tengine version: Tengine/2.1.1 (nginx/1.6.2)
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)
TLS SNI support enabled
/usr/local/nginx/sbin/nginx -s reload
/tengine/conf/tcp_proxy/socket.xxx.com
nginx.conf增加一条include tcp_proxy/*;
基于nginx和tengine的tcp反向代理,负载均衡 安装和配置
标签:port 负载 arch sock add status ref ast backtrace
原文地址:http://www.cnblogs.com/itfat/p/7267877.html