Unverified Commit 3da6e24f authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #2039 from wojiushixiaobai/docs

[Update]更新负载模式
parents b68f3ea9 b0363d31
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
server 192.168.100.40:2222 weight=1; server 192.168.100.40:2222 weight=1;
server 192.168.100.40:2223 weight=1; # 多节点 server 192.168.100.40:2223 weight=1; # 多节点
# 这里是 coco ssh 的后端ip # 这里是 coco ssh 的后端ip
least_conn; hash $remote_addr;
} }
server { server {
listen 2222; listen 2222;
......
...@@ -262,7 +262,7 @@ CentOS 7 安装文档 ...@@ -262,7 +262,7 @@ CentOS 7 安装文档
server localhost:2222 weight=1; server localhost:2222 weight=1;
server localhost:2223 weight=1; # 多节点 server localhost:2223 weight=1; # 多节点
# 这里是 coco ssh 的后端ip # 这里是 coco ssh 的后端ip
least_conn; # 优先连接连接数最少的后端服务 hash $remote_addr;
} }
server { server {
listen 2222; listen 2222;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment