yaoweibin / nginx_upstream_check_module

Health checks upstreams for nginx
http://github.com/yaoweibin/nginx_upstream_check_module
2.05k stars 483 forks source link

重复的ip:port会不会被重复检测 #85

Open solio opened 8 years ago

solio commented 8 years ago

` upstream server1 { server 192.168.56.1:8080; server 192.168.56.2:8080; }

upstream server2 { server 192.168.56.2:8080; server 192.168.56.3:8080; } ` 没太看懂代码,请问192.168.56.2:8080这个ip端口会不会接收重复的检测

yaoweibin commented 8 years ago

默认会重复检测。

在 2016年2月2日,下午11:09,夏治道(xiazhidao solio) notifications@github.com 写道:

` upstream server1 { server 192168561:8080; server 192168562:8080; }

upstream server2 { server 192168562:8080; server 192168563:8080; } ` 没太看懂代码,请问192168562:8080这个ip端口会不会接收重复的检测

— Reply to this email directly or view it on GitHub https://github.com/yaoweibin/nginx_upstream_check_module/issues/85.

solio commented 8 years ago

那怎么样才能让它不要重复检测呢,需要配置什么,还是改代码?