sofh7777 发表于 2016-12-25 07:21:02

nginx tcp config

  tcp {
  upstream cluster {
  # simple round-robin
  server 127.0.0.1:8090;
  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 843;
  proxy_pass cluster;
  }
  }
页: [1]
查看完整版本: nginx tcp config