Skip to content

Commit

Permalink
use Website's URL
Browse files Browse the repository at this point in the history
  • Loading branch information
soulbird committed Aug 30, 2022
1 parent c063fbf commit f668ef2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/en/latest/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ The differences between the two are described in the table below:

## After deploying Apache APISIX, how to detect the survival of the APISIX data plane?

You can create a route named `health-info` and enable the [fault-injection](https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/fault-injection.md) plugin (where YOUR-TOKEN is the user's token; 127.0.0.1 is the IP address of the control plane, which can be modified by yourself):
You can create a route named `health-info` and enable the [fault-injection](https://apisix.apache.org/docs/apisix/plugins/fault-injection/) plugin (where YOUR-TOKEN is the user's token; 127.0.0.1 is the IP address of the control plane, which can be modified by yourself):

```shell
curl http://127.0.0.1:9180/apisix/admin/routes/health-info \
Expand All @@ -614,7 +614,7 @@ curl http://127.0.0.1:9180/apisix/admin/routes/health-info \
}'
````
Ways of identifying:
Verification:
Access the `/status` of the Apache APISIX data plane to detect APISIX. If the response code is 200, it means APISIX is alive.

Expand Down
2 changes: 1 addition & 1 deletion docs/zh/latest/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ apisix:

## 部署了 Apache APISIX 之后,如何检测 APISIX 数据平面的存活情况(如何探活)?

可以创建一个名为 `health-info` 的路由,并开启 [fault-injection](https://github.com/apache/apisix/blob/master/docs/zh/latest/plugins/fault-injection.md) 插件(其中 YOUR-TOKEN 是用户自己的 token;127.0.0.1 是控制平面的 IP 地址,可以自行修改):
可以创建一个名为 `health-info` 的路由,并开启 [fault-injection](https://apisix.apache.org/zh/docs/apisix/plugins/fault-injection/) 插件(其中 YOUR-TOKEN 是用户自己的 token;127.0.0.1 是控制平面的 IP 地址,可以自行修改):

```shell
curl http://127.0.0.1:9180/apisix/admin/routes/health-info \
Expand Down

0 comments on commit f668ef2

Please sign in to comment.