Browse Source

bugfix: 修复复制均衡页面数据混淆的问题

tuon 1 year ago
parent
commit
1551e4304c
2 changed files with 7 additions and 6 deletions
  1. 1 0
      README.md
  2. 6 6
      src/pages/nginx/upstream/config.json

+ 1 - 0
README.md

@@ -92,6 +92,7 @@ docker run -itd -v ./data/:/app/data -p8080:8080 --name tuonina/nginx-ui
 配置部分参考一下文档:
 
 - [Nginx Rewrite](https://blog.csdn.net/qq1356059950/article/details/125014248)
+- [nginx负载均衡](https://zhuanlan.zhihu.com/p/557994010?utm_id=0)
 
 
 ## 构建部署

+ 6 - 6
src/pages/nginx/upstream/config.json

@@ -59,19 +59,19 @@
           "required": false
         },
         {
-          "title": "max_fails",
+          "title": "屏蔽时间",
           "type": "int",
-          "key": "max_fails",
+          "key": "fail_timeout",
           "required": false,
-          "description": "最大失败次数,也就是最多进行 3 次尝试,默认为1",
+          "description": "fail_timeout:当错误次数超过配置(max_fails)时,该服务的屏蔽时间,单位秒,默认值是10s",
           "width": 100
         },
         {
-          "title": "超时时间",
+          "title": "失败次数",
           "type": "int",
-          "key": "fail_timeout",
+          "key": "max_fails",
           "required": false,
-          "description": "超时时间,单位秒,默认值是10s",
+          "description": "最大失败次数,默认为1,失败次数达到指定的次数时,将会屏蔽该服务一定时间",
           "width": 100
         }
       ]