simon-flury commented on code in PR #9185:
URL: https://github.com/apache/apisix/pull/9185#discussion_r1159998782


##########
docs/en/latest/plugins/limit-count.md:
##########
@@ -46,7 +46,10 @@ The `limit-count` Plugin limits the number of requests to 
your service by a give
 | group                   | string  | False                                    
 |               | non-empty                              | Group to share the 
counter with. Routes configured with the same group will share the counter.     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                  |
 | redis_host              | string  | required when `policy` is `redis`        
 |               |                                        | Address of the 
Redis server. Used when the `policy` attribute is set to `redis`.               
                                                                                
                                                                                
                                                                                
                                                                                
                                                                      |
 | redis_port              | integer | False                                    
 | 6379          | [1,...]                                | Port of the Redis 
server. Used when the `policy` attribute is set to `redis`.                     
                                                                                
                                                                                
                                                                                
                                                                                
                                                                   |
+| redis_username          | string  | False                                    
 |               |                                        | Username use to 
authenticate to the Redis server for version >= 6.0, use only `redis_password` 
for the versions prior. Used when the `policy` is set to `redis`.               
                                                                                
                                                                                
                                                                                
                                                                                
                                                            |
 | redis_password          | string  | False                                    
 |               |                                        | Password of the 
Redis server. Used when the `policy` is set to `redis` or `redis-cluster`.      
                                                                                
                                                                                
                                                                                
                                                                                
                                                                     |
+| redis_ssl               | boolean | False                                    
 | false         |                                        | If set to `true`, 
then uses SSL to connect to redis instance. Used when the `policy` attribute is 
set to `redis`.                                                                 
                                                                                
                                                                                
                                                                                
                                                                                
          |
+| redis_ssl_verify        | boolean | False                                    
 | false         |                                        | If set to `true`, 
then verifies the validity of the server SSL certificate. Used when the 
`policy` attribute is set to `redis`. See 
[https://github.com/openresty/lua-nginx-module#tcpsocksslhandshake](https://github.com/openresty/lua-nginx-module#tcpsocksslhandshake).
                                                                                
                                                                                
                                                                                
                                                                                
                                                                          |

Review Comment:
   ok, i update it



##########
docs/zh/latest/plugins/limit-count.md:
##########
@@ -47,7 +47,10 @@ description: 本文介绍了 Apache APISIX limit-count 插件的相关操作,
 | group               | string | 否         |               | 非空                
                    | 配置相同 group 的路由将共享相同的限流计数器。 |
 | redis_host          | string  | 否        |               |                   
                      | 当使用 `redis` 限速策略时,Redis 服务节点的地址。**当 `policy` 属性设置为 
`redis` 时必选。**|
 | redis_port          | integer | 否        | 6379          | [1,...]           
                      | 当使用 `redis` 限速策略时,Redis 服务节点的端口。|
+| redis_username      | string  | 否        |               |                   
                      | Redis 服务器的用户名。当 `policy` 设置为 `redis` 时使用。|
 | redis_password      | string  | 否        |               |                   
                      | 当使用 `redis`  或者 `redis-cluster`  限速策略时,Redis 服务节点的密码。|
+| redis_ssl           | boolean | 否        | false         |                   
                      | 当使用 `redis` 限速策略时,如果设置为 true,则使用 SSL 连接到 `redis` |
+| redis_ssl_verify    | boolean | 否        | false         |                   
                      | 当使用 `redis` 限速策略时,如果设置为 true,则验证服务器 SSL 证书的有效性 |

Review Comment:
   yes i do



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to