mirror of
https://gitee.com/iresty/apisix.git
synced 2024-11-30 02:57:49 +08:00
docs: update invalid links (#5266)
This commit is contained in:
parent
ae08d23d97
commit
021828018d
@ -266,8 +266,8 @@ etcd:
|
||||
#user: root # root username for etcd
|
||||
#password: 5tHkHhYkjr6cQY # root password for etcd
|
||||
tls:
|
||||
# To enable etcd client certificate you need to build APISIX-Openresty, see
|
||||
# http://apisix.apache.org/docs/apisix/how-to-build#6-build-openresty-for-apisix
|
||||
# To enable etcd client certificate you need to build APISIX-OpenResty, see
|
||||
# https://apisix.apache.org/docs/apisix/how-to-build/#step-6-build-openresty-for-apache-apisix
|
||||
#cert: /path/to/cert # path of certificate used by the etcd client
|
||||
#key: /path/to/key # path of key used by the etcd client
|
||||
|
||||
|
@ -204,7 +204,7 @@ apisix help
|
||||
|
||||
The solution to the `Error unknown directive "lua_package_path" in /API_ASPIX/apisix/t/servroot/conf/nginx.conf` error is as shown below.
|
||||
|
||||
Ensure that Openresty is set to the default NGINX, and export the path as follows:
|
||||
Ensure that OpenResty is set to the default NGINX, and export the path as follows:
|
||||
|
||||
* `export PATH=/usr/local/openresty/nginx/sbin:$PATH`
|
||||
* Linux default installation path:
|
||||
|
@ -66,7 +66,7 @@ curl --cacert /data/certs/mtls_ca.crt --key /data/certs/mtls_client.key --cert /
|
||||
|
||||
### How to configure
|
||||
|
||||
You need to [build APISIX-Openresty](./how-to-build.md#step-6-build-openresty-for-apache-apisix) and configure `etcd.tls` section if you want APISIX to work on an etcd cluster with mTLS enabled.
|
||||
You need to [build APISIX-OpenResty](./how-to-build.md#step-6-build-openresty-for-apache-apisix) and configure `etcd.tls` section if you want APISIX to work on an etcd cluster with mTLS enabled.
|
||||
|
||||
```yaml
|
||||
etcd:
|
||||
|
@ -26,7 +26,7 @@ title: Plugin Develop
|
||||
- [table of contents](#table-of-contents)
|
||||
- [where to put your plugins](#where-to-put-your-plugins)
|
||||
- [check dependencies](#check-dependencies)
|
||||
- [name and config](#name-and-config)
|
||||
- [name, priority and the others](#name-priority-and-the-others)
|
||||
- [schema and check](#schema-and-check)
|
||||
- [choose phase to run](#choose-phase-to-run)
|
||||
- [implement the logic](#implement-the-logic)
|
||||
@ -311,7 +311,7 @@ end
|
||||
|
||||
## choose phase to run
|
||||
|
||||
Determine which phase to run, generally access or rewrite. If you don't know the [Openresty life cycle](https://openresty-reference.readthedocs.io/en/latest/Directives/), it's
|
||||
Determine which phase to run, generally access or rewrite. If you don't know the [OpenResty lifecycle](https://github.com/openresty/lua-nginx-module/blob/master/README.markdown#directives), it's
|
||||
recommended to know it in advance. For example key-auth is an authentication plugin, thus the authentication should be completed
|
||||
before forwarding the request to any upstream service. Therefore, the plugin must be executed in the rewrite phases.
|
||||
In APISIX, only the authentication logic can be run in the rewrite phase. Other logic needs to run before proxy should be in access phase.
|
||||
|
@ -29,7 +29,7 @@ APISIX using libradixtree as route dispatching library.
|
||||
|
||||
### How to use libradixtree in APISIX?
|
||||
|
||||
This is Lua-Openresty implementation library base on FFI for [rax](https://github.com/antirez/rax).
|
||||
This is Lua-OpenResty implementation library base on FFI for [rax](https://github.com/antirez/rax).
|
||||
|
||||
Let's take a look at a few examples and have an intuitive understanding.
|
||||
|
||||
|
@ -202,7 +202,7 @@ apisix help
|
||||
|
||||
出现`Error unknown directive "lua_package_path" in /API_ASPIX/apisix/t/servroot/conf/nginx.conf` 报错的解决方法如下:
|
||||
|
||||
确保将 Openresty 设置为默认的 NGINX,并按如下所示导出路径:
|
||||
确保将 OpenResty 设置为默认的 NGINX,并按如下所示导出路径:
|
||||
|
||||
* `export PATH=/usr/local/openresty/nginx/sbin:$PATH`
|
||||
* Linux 默认安装路径:
|
||||
|
@ -66,7 +66,7 @@ curl --cacert /data/certs/mtls_ca.crt --key /data/certs/mtls_client.key --cert /
|
||||
|
||||
### 如何配置
|
||||
|
||||
你需要构建 [APISIX-Openresty](./how-to-build.md#步骤6:为-Apache-APISIX-构建-OpenResty),并且需要在配置文件中设定 `etcd.tls` 来使 ETCD 的双向认证功能正常工作。
|
||||
你需要构建 [APISIX-OpenResty](./how-to-build.md#步骤6:为-Apache-APISIX-构建-OpenResty),并且需要在配置文件中设定 `etcd.tls` 来使 ETCD 的双向认证功能正常工作。
|
||||
|
||||
```yaml
|
||||
etcd:
|
||||
|
Loading…
Reference in New Issue
Block a user