diff --git a/docs/en/latest/architecture-design/global-rule.md b/docs/en/latest/architecture-design/global-rule.md index e27b629c..cb9615ea 100644 --- a/docs/en/latest/architecture-design/global-rule.md +++ b/docs/en/latest/architecture-design/global-rule.md @@ -21,7 +21,7 @@ title: Global rule # --> -[Plugin](plugin.md) just can be bound to [Service](service.md) or [Route](route.md), if we want a [Plugin](plugin.md) work on all requests, how to do it? +The [Plugin](plugin.md) configuration can be bound directly to a [Route](route.md), or to a [Service](service.md) or [Consumer](consumer.md). What if we want a [Plugin](plugin.md) to work on all requests, how to do it? We can register a global [Plugin](plugin.md) with `GlobalRule`: ```shell diff --git a/docs/zh/latest/architecture-design/global-rule.md b/docs/zh/latest/architecture-design/global-rule.md index de49a293..63183462 100644 --- a/docs/zh/latest/architecture-design/global-rule.md +++ b/docs/zh/latest/architecture-design/global-rule.md @@ -21,7 +21,7 @@ title: Global rule # --> -[Plugin](plugin.md) 只能绑定在 [Service](service.md) 或者 [Route](route.md) 上,如果我们需要一个能作用于所有请求的 [Plugin](plugin.md) 该怎么办呢? +[Plugin](plugin.md) 配置可直接绑定在 [Route](route.md) 上,也可以被绑定在 [Service](service.md) 或 [Consumer](consumer.md) 上,如果我们需要一个能作用于所有请求的 [Plugin](plugin.md) 该怎么办呢? 这时候我们可以使用 `GlobalRule` 来注册一个全局的 [Plugin](plugin.md): ```shell