|
@@ -0,0 +1,12 @@
|
|
|
+upstream backend {
|
|
|
+##<hostlist>##
|
|
|
+server 127.0.0.1:8080;
|
|
|
+#server 10.26.20.37:8080;
|
|
|
+#server 10.26.20.38:8080;
|
|
|
+##</hostlist>##
|
|
|
+#check interval=3000 rise=2 fall=5 timeout=1000 type=http;
|
|
|
+#check_http_send "GET /apache_router.jsp HTTP/1.0\r\n\r\n";
|
|
|
+#check_http_send "GET / HTTP/1.0\r\n\r\n";
|
|
|
+#check_http_expect_alive http_2xx http_3xx;
|
|
|
+#keepalive 32;
|
|
|
+}
|