Skip to content

Commit

Permalink
docs: fix spelling or grammar (#4727)
Browse files Browse the repository at this point in the history
Co-authored-by: lixingwang <lixingwang@yiche.com>
  • Loading branch information
okaybase and lixingwang authored Aug 6, 2021
1 parent 6cbdaf3 commit 2f53211
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/en/latest/admin-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ Note: When the `Admin API` is enabled, it will occupy the API prefixed with `/ap
| script | False | Script | See [Script](architecture-design/script.md) for more | |
| upstream | False | Upstream | Enabled Upstream configuration, see [Upstream](architecture-design/upstream.md) for more | |
| upstream_id | False | Upstream | Enabled upstream id, see [Upstream](architecture-design/upstream.md) for more | |
| service_id | False | Service | Binded Service configuration, see [Service](architecture-design/service.md) for more | |
| plugin_config_id | False, can't be used with `script` | Plugin | Binded plugin config object, see [Plugin Config](architecture-design/plugin-config.md) for more | |
| service_id | False | Service | Bound Service configuration, see [Service](architecture-design/service.md) for more | |
| plugin_config_id | False, can't be used with `script` | Plugin | Bound plugin config object, see [Plugin Config](architecture-design/plugin-config.md) for more | |
| labels | False | Match Rules | Key/value pairs to specify attributes | {"version":"v2","build":"16","env":"production"} |
| timeout | False | Auxiliary | Set the upstream timeout for connecting, sending and receiving messages of the route. This option will overwrite the [timeout](#upstream) option which set in upstream configuration. | {"connect": 3, "send": 3, "read": 3} |
| enable_websocket | False | Auxiliary | enable `websocket`(boolean), default `false`. | |
Expand Down Expand Up @@ -568,7 +568,7 @@ In addition to the basic complex equalization algorithm selection, APISIX's Upst
* `chash`: consistent hash
* `ewma`: pick one of node which has minimum latency. See https://en.wikipedia.org/wiki/EWMA_chart for details.
* `least_conn`: pick node which has the lowest `(active_conn + 1) / weight`. Note the `active connection` concept is the same with Nginx: it is a connection in used by a request.
* user-defined balancer which can be loaed via `require("apisix.balancer.your_balancer")`.
* user-defined balancer which can be loaded via `require("apisix.balancer.your_balancer")`.

`hash_on` can be set to different types:

Expand Down Expand Up @@ -768,7 +768,7 @@ For example:
```

Node `127.0.0.2` will be used only after `127.0.0.1` is unavailable or tried.
Therefore it is the backup of `127.0.0.1`.
Therefore, it is the backup of `127.0.0.1`.

### Response Parameters

Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/architecture-design/global-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ title: Global rule
#
-->

[Plugin](plugin.md) just can be binded to [Service](service.md) or [Route](route.md), if we want a [Plugin](plugin.md) work on all requests, how to do it?
[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?
We can register a global [Plugin](plugin.md) with `GlobalRule`:

```shell
Expand Down
2 changes: 1 addition & 1 deletion docs/en/latest/discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ The result of this example is as follows:
"port" : 8761,
"weight" : 100,
"metadata" : {
"management.port": "8761",
"management.port": "8761"
}
}
]
Expand Down

0 comments on commit 2f53211

Please sign in to comment.