SylviaBABY commented on code in PR #6886:
URL: https://github.com/apache/apisix/pull/6886#discussion_r853778565


##########
docs/zh/latest/plugins/real-ip.md:
##########
@@ -23,27 +29,36 @@ title: real-ip
 
 ## 描述
 
-`real-ip` 插件用于动态改变传递到 `APISIX` 的客户端的 `IP` 和端口。
+`real-ip` 插件用于动态改变传递到 `APISIX` 的客户端的 IP 地址和端口。
 
-它工作方式和 `Nginx` 里 `ngx_http_realip_module` 模块一样,并且更为灵活。
+它的工作方式和 `Nginx` 中的 `ngx_http_realip_module` 模块一样,并且更加灵活。
 
-**该插件要求 `APISIX` 运行在 
[APISIX-OpenResty](../how-to-build.md#步骤-6-为-apache-apisix-构建-openresty) 上。**
+:::info IMPORTANT
+
+该插件要求 `APISIX` 运行在 
[APISIX-OpenResty](../how-to-build.md#步骤-6-为-apache-apisix-构建-openresty) 上。
+
+:::
 
 ## 属性
 
-| 名称      | 类型          | 必选项 | 默认值    | 有效值                                   
                                 | 描述                                           
                                                                                
              |
-| --------- | ------------- | ----------- | ---------- | 
------------------------------------------------------------------------ | 
---------------------------------------------------------------------------------------------------------------------------------------------------
 |
-| source      | string        | 必填    |            | 任何 Nginx 变量,如 
`arg_realip` 或 `http_x_forwarded_for` | 根据变量的值 `APISIX` 动态设置客户端的 `IP` 
和端口。如果该值不包含端口,则不会更改客户端的端口。 |
-| trusted_addresses| array[string] | 可选    |            | `IP` 或 `CIDR` 范围列表 | 
动态设置 `set_real_ip_from` 指令 |
+| 名称              | 类型          | 必选项 | 有效值                                    
                   | 描述                                                         
                            |
+|-------------------|---------------|-------|-------------------------------------------------------------|------------------------------------------------------------------------------------------|
+| source            | string        | 是    | 任何 Nginx 变量,如 `arg_realip` 或 
`http_x_forwarded_for` 。 | 动态设置客户端的 IP 地址和端口。如果该值不包含端口,则不会更改客户端的端口。             
         |

Review Comment:
   ```suggestion
   | source            | string        | 是    | 任何 NGINX 变量,如 `arg_realip` 或 
`http_x_forwarded_for` 。 | 动态设置客户端的 IP 地址和端口。如果该值不包含端口,则不会更改客户端的端口。             
         |
   ```



-- 
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