docs: update document reference link (#5965)

This commit is contained in:
帅进超 2021-12-30 16:56:59 +08:00 committed by GitHub
parent 719c538814
commit 24276b0468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 10 deletions

View File

@ -119,7 +119,7 @@ curl -i http://127.0.0.1:9080/apisix/admin/routes/2 -H 'X-API-KEY: edd1c9f034335
```
Here is the operator list of current `lua-resty-radixtree`
https://github.com/iresty/lua-resty-radixtree#operator-list
https://github.com/api7/lua-resty-radixtree#operator-list
2. Use `traffic-split` plugin to do it.

View File

@ -38,7 +38,7 @@ Here's an example, to proxying gRPC service by specified route:
* attention: the `scheme` of the route's upstream must be `grpc` or `grpcs`.
* attention: APISIX use TLSencrypted HTTP/2 to expose gRPC service, so need to [config SSL certificate](certificate.md)
* attention: APISIX also support to expose gRPC service with plaintext HTTP/2, which does not rely on TLS, usually used to proxy gRPC service in intranet environment
* the grpc server example[grpc_server_example](https://github.com/iresty/grpc_server_example)
* the grpc server example[grpc_server_example](https://github.com/api7/grpc_server_example)
```shell
curl http://127.0.0.1:9080/apisix/admin/routes/1 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '

View File

@ -67,7 +67,7 @@ curl http://127.0.0.1:9080/apisix/admin/proto/1 -H 'X-API-KEY: edd1c9f034335f136
Here's an example, to enable the grpc-transcode plugin to specified route:
* attention: the `scheme` in the route's upstream must be `grpc`
* the grpc server example[grpc_server_example](https://github.com/iresty/grpc_server_example)
* the grpc server example[grpc_server_example](https://github.com/api7/grpc_server_example)
```shell
curl http://127.0.0.1:9080/apisix/admin/routes/111 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '

View File

@ -23,7 +23,7 @@ title: Router radixtree
### what's libradixtree?
[libradixtree](https://github.com/iresty/lua-resty-radixtree), adaptive radix trees implemented in Lua for OpenResty.
[libradixtree](https://github.com/api7/lua-resty-radixtree), adaptive radix trees implemented in Lua for OpenResty.
APISIX using libradixtree as route dispatching library.
@ -193,7 +193,7 @@ For more details, see https://github.com/api7/lua-resty-radixtree/#parameters-in
### How to filter route by Nginx builtin variable
Please take a look at [radixtree-new](https://github.com/iresty/lua-resty-radixtree#new),
Please take a look at [radixtree-new](https://github.com/api7/lua-resty-radixtree#new),
here is an simple example:
```shell

View File

@ -98,8 +98,8 @@ A/B 测试、金丝雀发布(灰度发布)、蓝绿部署、限流限速、抵
- [支持全路径匹配和前缀匹配](../../en/latest/router-radixtree.md#how-to-use-libradixtree-in-apisix)
- [支持使用 Nginx 所有内置变量做为路由的条件](../../en/latest/router-radixtree.md#how-to-filter-route-by-nginx-builtin-variable),所以你可以使用 `cookie`, `args` 等做为路由的条件来实现灰度发布、A/B 测试等功能
- 支持[各类操作符做为路由的判断条件](https://github.com/iresty/lua-resty-radixtree#operator-list),比如 `{"arg_age", ">", 24}`
- 支持[自定义路由匹配函数](https://github.com/iresty/lua-resty-radixtree/blob/master/t/filter-fun.t#L10)
- 支持[各类操作符做为路由的判断条件](https://github.com/api7/lua-resty-radixtree#operator-list),比如 `{"arg_age", ">", 24}`
- 支持[自定义路由匹配函数](https://github.com/api7/lua-resty-radixtree/blob/master/t/filter-fun.t#L10)
- IPv6支持使用 IPv6 格式匹配路由
- 支持路由的[自动过期(TTL)](admin-api.md#route)
- [支持路由的优先级](../../en/latest/router-radixtree.md#3-match-priority)

View File

@ -67,7 +67,7 @@ curl http://127.0.0.1:9080/apisix/admin/proto/1 -H 'X-API-KEY: edd1c9f034335f136
在指定 route 中,代理 grpc 服务接口:
* 注意: 这个 route 对应的 upstream 的属性 `scheme` 必须设置为 `grpc`
* 代理 grpc 服务例子可参考:[grpc_server_example](https://github.com/iresty/grpc_server_example)
* 代理 grpc 服务例子可参考:[grpc_server_example](https://github.com/api7/grpc_server_example)
```shell
curl http://127.0.0.1:9080/apisix/admin/routes/111 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d '

View File

@ -23,7 +23,7 @@ title: 路由 RadixTree
### 什么是 libradixtree
[libradixtree](https://github.com/iresty/lua-resty-radixtree), 是在 `Lua` 中为 `OpenResty` 实现的自适应
[libradixtree](https://github.com/api7/lua-resty-radixtree), 是在 `Lua` 中为 `OpenResty` 实现的自适应
[基数树](https://zh.wikipedia.org/wiki/%E5%9F%BA%E6%95%B0%E6%A0%91) 。
`Apache APISIX` 使用 `libradixtree` 作为路由调度库。
@ -194,7 +194,7 @@ apisix:
### 如何通过 Nginx 内置变量过滤路由
具体参数及使用方式请查看 [radixtree#new](https://github.com/iresty/lua-resty-radixtree#new) 文档
具体参数及使用方式请查看 [radixtree#new](https://github.com/api7/lua-resty-radixtree#new) 文档
,下面是一个简单的示例:
```shell