docs: update invalid links (#5266)

This commit is contained in:
Bisakh 2021-10-19 10:24:52 +05:30 committed by GitHub
parent ae08d23d97
commit 021828018d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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.

View File

@ -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.

View File

@ -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 默认安装路径:

View File

@ -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: