diff --git a/docs/distributed_02.rst b/docs/distributed_02.rst index e6a777738f9b8389a96f87023c225e0fe331ba28..e984743c33c7f97adcbaa4ad2abf7f07909e00f9 100644 --- a/docs/distributed_02.rst +++ b/docs/distributed_02.rst @@ -86,7 +86,7 @@ server 192.168.100.40:2222 weight=1; server 192.168.100.40:2223 weight=1; # 多节点 # 这里是 coco ssh çš„åŽç«¯ip - least_conn; + hash $remote_addr; } server { listen 2222; diff --git a/docs/setup_by_centos7.rst b/docs/setup_by_centos7.rst index c7da6d3f56f8f0ae20880e04afce2255378054de..40ee23705616fedeb87531c7622b1bbbb80561ad 100644 --- a/docs/setup_by_centos7.rst +++ b/docs/setup_by_centos7.rst @@ -262,7 +262,7 @@ CentOS 7 安装文档 server localhost:2222 weight=1; server localhost:2223 weight=1; # 多节点 # 这里是 coco ssh çš„åŽç«¯ip - least_conn; # 优先连接连接数最少的åŽç«¯æœåŠ¡ + hash $remote_addr; } server { listen 2222;