Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yilialinn committed Feb 11, 2025
1 parent ba46812 commit 7fea61c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/latest/plugins/real-ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ If the address specified in `source` is missing or invalid, the Plugin would not
The examples below demonstrate how you can configure `real-ip` in different scenarios.

:::note

You can fetch the `admin_key` from `config.yaml` and save to an environment variable with the following command:

```bash
Expand Down
1 change: 1 addition & 0 deletions docs/zh/latest/plugins/real-ip.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ description: real-ip 插件允许 Apache APISIX 通过 HTTP 请求头或 HTTP
以下示例展示了如何在不同场景中配置 `real-ip`

:::note

您可以这样从 `config.yaml` 中获取 `admin_key` 并存入环境变量:

```bash
Expand Down

0 comments on commit 7fea61c

Please sign in to comment.