This is an automated email from the ASF dual-hosted git repository.

yilinzeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 948f9680fb2 docs: correct word errors (#1181)
948f9680fb2 is described below

commit 948f9680fb279757a41644391a384446ba4ba74c
Author: HanFei <[email protected]>
AuthorDate: Mon Jul 4 11:35:03 2022 +0800

    docs: correct word errors (#1181)
---
 website/blog/2022/06/14/automated-operation-base-apache-apisix.md       | 2 +-
 .../2022/06/14/automated-operation-base-apache-apisix.md                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/blog/2022/06/14/automated-operation-base-apache-apisix.md 
b/website/blog/2022/06/14/automated-operation-base-apache-apisix.md
index cccb2d5002f..5c75879c9c0 100644
--- a/website/blog/2022/06/14/automated-operation-base-apache-apisix.md
+++ b/website/blog/2022/06/14/automated-operation-base-apache-apisix.md
@@ -111,7 +111,7 @@ Because APISIX is implemented based on NGINX+Lua, some 
functions need to be impl
 
 In the rewrite/access phase, the message has not been transferred upstream, so 
various data preprocessing can be performed in this phase. From the above 
figure, we can see that there is an access_by_Lua. In this phase, the deny 
command can be used to manage permissions, including interface permissions and 
IP access white list. The plugin acl_plugin.lua, described later, is 
implemented at this stage.
 
-Second, in `hard_filet_by_Lua` stage is often used to insert some additional 
`key:values` in the HTTP request header for subsequent use when requesting 
access. For example, when we need online gray-scale publishing, we can add flag 
bits to the user's request header. Through these flag bits, we can control 
which back-end services these requests forward, to realize gray-scale 
publishing. Of course, we can also use the [`traffic 
split`](https://apisix.apache.org/zh/docs/apisix/plugins/traff [...]
+Second, in `header_filter_by_lua` stage is often used to insert some 
additional `key:values` in the HTTP request header for subsequent use when 
requesting access. For example, when we need online gray-scale publishing, we 
can add flag bits to the user's request header. Through these flag bits, we can 
control which back-end services these requests forward, to realize gray-scale 
publishing. Of course, we can also use the [`traffic 
split`](https://apisix.apache.org/zh/docs/apisix/plugins/tr [...]
 
 Finally, `log_by_Lua` stage. In this stage, we can directly input some trace 
information or some fault information into the log file. Similarly, APISIX also 
provides many plug-ins for loggers, including `skywalking-logger`, 
`kafka-logger`, `rocketmq-logger`, and so on.
 
diff --git 
a/website/i18n/zh/docusaurus-plugin-content-blog/2022/06/14/automated-operation-base-apache-apisix.md
 
b/website/i18n/zh/docusaurus-plugin-content-blog/2022/06/14/automated-operation-base-apache-apisix.md
index 81791bd1cd7..c46bf1b01f9 100644
--- 
a/website/i18n/zh/docusaurus-plugin-content-blog/2022/06/14/automated-operation-base-apache-apisix.md
+++ 
b/website/i18n/zh/docusaurus-plugin-content-blog/2022/06/14/automated-operation-base-apache-apisix.md
@@ -111,7 +111,7 @@ tags: [Technology]
 
 因为在 Rewrite/Access 阶段,报文还没有转给 Upstream,所以可以在该阶段进行各种各样的数据预处理。从上图中我们可以看到有个 
`access_by_lua`,在该阶段,可以使用 deny 命令进行权限的管理,包括接口权限以及 IP 准入白名单都可以在该阶段实现。后文所介绍的 
`acl_plugin.lua` 的插件就是在该阶段实现的。
 
-其次在 `hard_filet_by_lua` 这个阶段,常用于在请求访问时,额外的在 HTTP 请求头插入一些 
`key:value`,供后续使用。例如,当需要我们线上灰度发布时,就可以在用户的请求头中加入标志位,通过这些标志位,就可以控制这些请求转发哪些后端服务,从而实现灰度发布。当然我们也可以使用
 APISIX 的 
[`traffic-split`](https://apisix.apache.org/zh/docs/apisix/plugins/traffic-split)
 插件实现灰度发布。
+其次在 `header_filter_by_lua` 这个阶段,常用于在请求访问时,额外的在 HTTP 请求头插入一些 
`key:value`,供后续使用。例如,当需要我们线上灰度发布时,就可以在用户的请求头中加入标志位,通过这些标志位,就可以控制这些请求转发哪些后端服务,从而实现灰度发布。当然我们也可以使用
 APISIX 的 
[`traffic-split`](https://apisix.apache.org/zh/docs/apisix/plugins/traffic-split)
 插件实现灰度发布。
 
 最后就是 `log_by_lua` 阶段,在该阶段,我们可以把一些 trace 信息或者一些故障信息可以直接输入到 log 文件中。同样的,针对 
`Loggers`,APISIX 也提供了非常多的插件,包括 
`skywalking-logger`、`kafka-logger`、`rocketmq-logger` 等等。
 

Reply via email to