nginx_tcp_proxy_module 為 Nginx 增加對 TCP 的反向代理支持,提供連接有效性檢測和狀態監控。
配置示例:
upstream cluster {
# simple round-robin
server 127.0.0.1:3306;
server 127.0.0.1:1234;
check interval=3000 rise=2 fall=5 timeout=1000;
#check interval=3000 rise=2 fall=5 timeout=1000 type=ssl_hello;
#check interval=3000 rise=2 fall=5 timeout=1000 type=http;
#check_http_send "GET / HTTP/1.0\r\n\r\n";
#check_http_expect_alive http_2xx http_3xx;
}
add the feature of tcp proxy with nginx, with health check and status monitor — More...
http://yaoweibin.github.com/nginx_tcp_proxy_module
Issues | ||
#74 | may be a debug in ngx_tcp_upstream_check_broken_connection? | by chenbk85 2013-04-17 |
#73 | reverse proxy tcp and http on the same port | by beurdouche 2013-03-26 |
#72 | TCP error_log | by splitice 2013-03-24 |
#31 | basic auth htpsswd | by manguz 2013-03-21 |
#71 | upstream ssl suppoprt! | by sleets 2013-03-13 |
master分支代碼最近更新:2013-03-28