首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Nginx扩张(一):nginx_tcp_proxy_module

2013-01-19 
Nginx扩展(一):nginx_tcp_proxy_moduletcp {upstream cluster {# simple round-robinserver 192.168.0.1:8

Nginx扩展(一):nginx_tcp_proxy_module
tcp { upstream cluster { # simple round-robin server 192.168.0.1:80; server 192.168.0.2:80; 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; } server { listen 8888; proxy_pass cluster; } }

?就这么简单,做个记录,后续详述补充。

?

?

热点排行