This is an automated email from the ASF dual-hosted git repository.
monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 7f00bffe0 docs: replace apisix-base with apisix-runtime (#10522)
7f00bffe0 is described below
commit 7f00bffe0d11857ec87845f41553ccee08ed7925
Author: Sn0rt <[email protected]>
AuthorDate: Thu Dec 7 11:37:05 2023 +0800
docs: replace apisix-base with apisix-runtime (#10522)
---
apisix/cli/ngx_tpl.lua | 2 +-
apisix/init.lua | 2 +-
apisix/plugins/client-control.lua | 2 +-
apisix/plugins/gm.lua | 2 +-
apisix/plugins/gzip.lua | 2 +-
apisix/plugins/prometheus/exporter.lua | 2 +-
apisix/plugins/proxy-control.lua | 2 +-
apisix/plugins/real-ip.lua | 2 +-
apisix/upstream.lua | 4 ++--
apisix/wasm.lua | 2 +-
docs/en/latest/FAQ.md | 4 ++--
docs/en/latest/admin-api.md | 2 +-
docs/en/latest/building-apisix.md | 2 +-
docs/en/latest/mtls.md | 2 +-
docs/en/latest/plugins/client-control.md | 2 +-
docs/en/latest/plugins/dubbo-proxy.md | 2 +-
docs/en/latest/plugins/gzip.md | 2 +-
docs/en/latest/plugins/prometheus.md | 4 ++--
docs/en/latest/plugins/proxy-control.md | 2 +-
docs/en/latest/plugins/real-ip.md | 2 +-
docs/en/latest/support-fips-in-apisix.md | 14 +++++++-------
docs/en/latest/wasm.md | 1 -
docs/en/latest/xrpc/redis.md | 2 +-
docs/zh/latest/FAQ.md | 4 ++--
docs/zh/latest/admin-api.md | 2 +-
docs/zh/latest/building-apisix.md | 4 ++--
docs/zh/latest/mtls.md | 4 ++--
docs/zh/latest/plugins/client-control.md | 2 +-
docs/zh/latest/plugins/dubbo-proxy.md | 2 +-
docs/zh/latest/plugins/gm.md | 6 +++---
docs/zh/latest/plugins/gzip.md | 2 +-
docs/zh/latest/plugins/prometheus.md | 4 ++--
docs/zh/latest/plugins/proxy-control.md | 2 +-
docs/zh/latest/plugins/real-ip.md | 2 +-
docs/zh/latest/support-fips-in-apisix.md | 14 +++++++-------
docs/zh/latest/upgrade-guide-from-2.15.x-to-3.0.0.md | 2 +-
t/cli/test_apisix_mirror.sh | 6 +++---
t/error_page/error_page.t | 2 +-
38 files changed, 60 insertions(+), 61 deletions(-)
diff --git a/apisix/cli/ngx_tpl.lua b/apisix/cli/ngx_tpl.lua
index 3e1aadd9b..d2437d377 100644
--- a/apisix/cli/ngx_tpl.lua
+++ b/apisix/cli/ngx_tpl.lua
@@ -776,7 +776,7 @@ http {
{% if use_apisix_base then %}
# For servers which obey the standard, when `:authority` is
missing,
- # `host` will be used instead. When used with apisix-base, we can
do
+ # `host` will be used instead. When used with apisix-runtime, we
can do
# better by setting `:authority` directly
grpc_set_header ":authority" $upstream_host;
{% else %}
diff --git a/apisix/init.lua b/apisix/init.lua
index 48421e8f2..c234f3bdf 100644
--- a/apisix/init.lua
+++ b/apisix/init.lua
@@ -309,7 +309,7 @@ end
local function verify_tls_client(ctx)
if apisix_base_flags.client_cert_verified_in_handshake then
- -- For apisix-base, there is no need to rematch SSL rules as the
invalid
+ -- For apisix-runtime, there is no need to rematch SSL rules as the
invalid
-- connections are already rejected in the handshake
return true
end
diff --git a/apisix/plugins/client-control.lua
b/apisix/plugins/client-control.lua
index c72ee4190..63c0cacb9 100644
--- a/apisix/plugins/client-control.lua
+++ b/apisix/plugins/client-control.lua
@@ -49,7 +49,7 @@ end
function _M.rewrite(conf, ctx)
if not ok then
- core.log.error("need to build APISIX-Base to support client control")
+ core.log.error("need to build APISIX-Runtime to support client
control")
return 501
end
diff --git a/apisix/plugins/gm.lua b/apisix/plugins/gm.lua
index 929dac6f0..ee147ce29 100644
--- a/apisix/plugins/gm.lua
+++ b/apisix/plugins/gm.lua
@@ -136,7 +136,7 @@ local _M = {
function _M.init()
if not pcall(function () return C.Tongsuo_version_num end) then
error("need to build Tongsuo
(https://github.com/Tongsuo-Project/Tongsuo) " ..
- "into the APISIX-Base")
+ "into the APISIX-Runtime")
end
ssl.enable_ntls()
diff --git a/apisix/plugins/gzip.lua b/apisix/plugins/gzip.lua
index 8720cfe9f..dfd0f10c0 100644
--- a/apisix/plugins/gzip.lua
+++ b/apisix/plugins/gzip.lua
@@ -102,7 +102,7 @@ end
function _M.header_filter(conf, ctx)
if not is_apisix_or then
- core.log.error("need to build APISIX-Base to support setting gzip")
+ core.log.error("need to build APISIX-Runtime to support setting gzip")
return 501
end
diff --git a/apisix/plugins/prometheus/exporter.lua
b/apisix/plugins/prometheus/exporter.lua
index 623a9eddf..f795a27a0 100644
--- a/apisix/plugins/prometheus/exporter.lua
+++ b/apisix/plugins/prometheus/exporter.lua
@@ -201,7 +201,7 @@ function _M.stream_init()
end
if not pcall(function() return C.ngx_meta_lua_ffi_shdict_udata_to_zone
end) then
- core.log.error("need to build APISIX-Base to support L4 metrics")
+ core.log.error("need to build APISIX-Runtime to support L4 metrics")
return
end
diff --git a/apisix/plugins/proxy-control.lua b/apisix/plugins/proxy-control.lua
index 9b9246b2f..fc87e4529 100644
--- a/apisix/plugins/proxy-control.lua
+++ b/apisix/plugins/proxy-control.lua
@@ -47,7 +47,7 @@ end
-- we want to control proxy behavior before auth, so put the code under
rewrite method
function _M.rewrite(conf, ctx)
if not ok then
- core.log.error("need to build APISIX-Base to support proxy control")
+ core.log.error("need to build APISIX-Runtime to support proxy control")
return 501
end
diff --git a/apisix/plugins/real-ip.lua b/apisix/plugins/real-ip.lua
index 242af9608..71c33095b 100644
--- a/apisix/plugins/real-ip.lua
+++ b/apisix/plugins/real-ip.lua
@@ -131,7 +131,7 @@ end
function _M.rewrite(conf, ctx)
if not is_apisix_or then
- core.log.error("need to build APISIX-Base to support setting real ip")
+ core.log.error("need to build APISIX-Runtime to support setting real
ip")
return 501
end
diff --git a/apisix/upstream.lua b/apisix/upstream.lua
index d8e3f3a98..52b5382b3 100644
--- a/apisix/upstream.lua
+++ b/apisix/upstream.lua
@@ -36,7 +36,7 @@ if ok then
set_upstream_tls_client_param = apisix_ngx_upstream.set_cert_and_key
else
set_upstream_tls_client_param = function ()
- return nil, "need to build APISIX-Base to support upstream mTLS"
+ return nil, "need to build APISIX-Runtime to support upstream mTLS"
end
end
@@ -47,7 +47,7 @@ if not is_http then
set_stream_upstream_tls = apisix_ngx_stream_upstream.set_tls
else
set_stream_upstream_tls = function ()
- return nil, "need to build APISIX-Base to support TLS over TCP
upstream"
+ return nil, "need to build APISIX-Runtime to support TLS over TCP
upstream"
end
end
end
diff --git a/apisix/wasm.lua b/apisix/wasm.lua
index c8b863aea..6a937287f 100644
--- a/apisix/wasm.lua
+++ b/apisix/wasm.lua
@@ -157,7 +157,7 @@ end
function _M.require(attrs)
if not support_wasm then
- return nil, "need to build APISIX-Base to support wasm"
+ return nil, "need to build APISIX-Runtime to support wasm"
end
local name = attrs.name
diff --git a/docs/en/latest/FAQ.md b/docs/en/latest/FAQ.md
index 79e3f3d48..449abd882 100644
--- a/docs/en/latest/FAQ.md
+++ b/docs/en/latest/FAQ.md
@@ -107,9 +107,9 @@ make deps ENV_LUAROCKS_SERVER=https://luarocks.cn
If this does not solve your problem, you can try getting a detailed log by
using the `--verbose` or `-v` flag to diagnose the problem.
-## How do I build the APISIX-Base environment?
+## How do I build the APISIX-Runtime environment?
-Some functions need to introduce additional NGINX modules, which requires
APISIX to run on APISIX-Base. If you need these functions, you can refer to the
code in [api7/apisix-build-tools](https://github.com/api7/apisix-build-tools)
to build your own APISIX-Base environment.
+Some functions need to introduce additional NGINX modules, which requires
APISIX to run on APISIX-Runtime. If you need these functions, you can refer to
the code in
[api7/apisix-build-tools](https://github.com/api7/apisix-build-tools) to build
your own APISIX-Runtime environment.
## How can I make a gray release with Apache APISIX?
diff --git a/docs/en/latest/admin-api.md b/docs/en/latest/admin-api.md
index c900fb5a9..722cdd570 100644
--- a/docs/en/latest/admin-api.md
+++ b/docs/en/latest/admin-api.md
@@ -928,7 +928,7 @@ The following should be considered when setting the
`hash_on` value:
- When set to `consumer`, the `key` is optional and the key is set to the
`consumer_name` captured from the authentication Plugin.
- When set to `vars_combinations`, the `key` is required. The value of the key
can be a combination of any of the [Nginx
variables](http://nginx.org/en/docs/varindex.html) like
`$request_uri$remote_addr`.
-The features described below requires APISIX to be run on
[APISIX-Base](./FAQ.md#how-do-i-build-the-apisix-base-environment):
+The features described below requires APISIX to be run on
[APISIX-Runtime](./FAQ.md#how-do-i-build-the-apisix-runtime-environment):
You can set the `scheme` to `tls`, which means "TLS over TCP".
diff --git a/docs/en/latest/building-apisix.md
b/docs/en/latest/building-apisix.md
index cf4177a16..ba9c9c6d2 100644
--- a/docs/en/latest/building-apisix.md
+++ b/docs/en/latest/building-apisix.md
@@ -203,7 +203,7 @@ apisix stop
Some features of APISIX requires additional Nginx modules to be introduced
into OpenResty.
-To use these features, you need to build a custom distribution of OpenResty
(apisix-base). See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for setting up
your build environment and building it.
+To use these features, you need to build a custom distribution of OpenResty
(apisix-runtime). See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for setting up
your build environment and building it.
## Running tests
diff --git a/docs/en/latest/mtls.md b/docs/en/latest/mtls.md
index fe0f43ef7..25a174730 100644
--- a/docs/en/latest/mtls.md
+++ b/docs/en/latest/mtls.md
@@ -168,7 +168,7 @@ Sometimes the upstream requires mTLS. In this situation,
the APISIX acts as the
When configuring `upstreams`, we could use parameter `tls.client_cert` and
`tls.client_key` to configure the client certificate APISIX used to communicate
with upstreams. Please refer to [Admin API](./admin-api.md#upstream) for
details.
-This feature requires APISIX to run on
[APISIX-Base](./FAQ.md#how-do-i-build-the-apisix-base-environment).
+This feature requires APISIX to run on
[APISIX-Runtime](./FAQ.md#how-do-i-build-the-apisix-runtime-environment).
Here is a similar Python script to patch a existed upstream with mTLS (changes
admin API url if needed):
diff --git a/docs/en/latest/plugins/client-control.md
b/docs/en/latest/plugins/client-control.md
index fd226f7b2..61d15ca60 100644
--- a/docs/en/latest/plugins/client-control.md
+++ b/docs/en/latest/plugins/client-control.md
@@ -32,7 +32,7 @@ The `client-control` Plugin can be used to dynamically
control the behavior of N
:::info IMPORTANT
-This Plugin requires APISIX to run on APISIX-Base. See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for more info.
+This Plugin requires APISIX to run on APISIX-Runtime. See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for more info.
:::
diff --git a/docs/en/latest/plugins/dubbo-proxy.md
b/docs/en/latest/plugins/dubbo-proxy.md
index 90459040c..9dc8e1930 100644
--- a/docs/en/latest/plugins/dubbo-proxy.md
+++ b/docs/en/latest/plugins/dubbo-proxy.md
@@ -34,7 +34,7 @@ The `dubbo-proxy` Plugin allows you to proxy HTTP requests to
[Apache Dubbo](htt
:::info IMPORTANT
-If you are using OpenResty, you need to build it with Dubbo support. See [How
do I build the APISIX base
environment](./../FAQ.md#how-do-i-build-the-apisix-base-environment) for
details.
+If you are using OpenResty, you need to build it with Dubbo support. See [How
do I build the APISIX runtime
environment](./../FAQ.md#how-do-i-build-the-apisix-runtime-environment) for
details.
:::
diff --git a/docs/en/latest/plugins/gzip.md b/docs/en/latest/plugins/gzip.md
index b812de4da..9b86e2e4f 100644
--- a/docs/en/latest/plugins/gzip.md
+++ b/docs/en/latest/plugins/gzip.md
@@ -33,7 +33,7 @@ The `gzip` Plugin dynamically sets the behavior of [gzip in
Nginx](https://docs.
:::info IMPORTANT
-This Plugin requires APISIX to run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment).
+This Plugin requires APISIX to run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment).
:::
diff --git a/docs/en/latest/plugins/prometheus.md
b/docs/en/latest/plugins/prometheus.md
index 71927fc3b..f1eb20d87 100644
--- a/docs/en/latest/plugins/prometheus.md
+++ b/docs/en/latest/plugins/prometheus.md
@@ -127,7 +127,7 @@ You can then expose it by using the
[public-api](public-api.md) Plugin.
If the Prometheus plugin collects too many metrics, it will take CPU resources
to calculate the metric data when getting the metrics via URI, which may affect
APISIX to process normal requests. To solve this problem, APISIX exposes the
URI and calculates the metrics in the [privileged
agent](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/process.md#enable_privileged_agent).
If the URI is exposed using the public-api plugin, then APISIX will calculate
the metric data in a normal worker process, which may still affect APISIX
processing of normal requests.
-This feature requires APISIX to run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment).
+This feature requires APISIX to run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment).
:::
@@ -381,7 +381,7 @@ curl http://127.0.0.1:9180/apisix/admin/routes/1 -H
'X-API-KEY: edd1c9f034335f1
:::info IMPORTANT
-This feature requires APISIX to run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment?).
+This feature requires APISIX to run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment?).
:::
diff --git a/docs/en/latest/plugins/proxy-control.md
b/docs/en/latest/plugins/proxy-control.md
index e97d0dc5c..48c8ce4a7 100644
--- a/docs/en/latest/plugins/proxy-control.md
+++ b/docs/en/latest/plugins/proxy-control.md
@@ -32,7 +32,7 @@ The proxy-control Plugin dynamically controls the behavior of
the NGINX proxy.
:::info IMPORTANT
-This Plugin requires APISIX to run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment). See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for more info.
+This Plugin requires APISIX to run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment). See
[apisix-build-tools](https://github.com/api7/apisix-build-tools) for more info.
:::
diff --git a/docs/en/latest/plugins/real-ip.md
b/docs/en/latest/plugins/real-ip.md
index 115fc29b2..519d502fd 100644
--- a/docs/en/latest/plugins/real-ip.md
+++ b/docs/en/latest/plugins/real-ip.md
@@ -35,7 +35,7 @@ This is more flexible but functions similarly to Nginx's
[ngx_http_realip_module
:::info IMPORTANT
-This Plugin requires APISIX to run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment).
+This Plugin requires APISIX to run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment).
:::
diff --git a/docs/en/latest/support-fips-in-apisix.md
b/docs/en/latest/support-fips-in-apisix.md
index 4e797e1c9..996a44881 100644
--- a/docs/en/latest/support-fips-in-apisix.md
+++ b/docs/en/latest/support-fips-in-apisix.md
@@ -7,7 +7,7 @@ keywords:
- Code Contribution
- Building APISIX
- OpenSSL 3.0 FIPS
-description: Compile apisix-base with OpenSSL 3.0 (FIPS enabled)
+description: Compile apisix-runtime with OpenSSL 3.0 (FIPS enabled)
---
<!--
@@ -29,11 +29,11 @@ description: Compile apisix-base with OpenSSL 3.0 (FIPS
enabled)
#
-->
-OpenSSL 3.0
[supports](https://www.openssl.org/blog/blog/2022/08/24/FIPS-validation-certificate-issued/)
[FIPS](https://en.wikipedia.org/wiki/FIPS_140-2) mode. To support FIPS in
APISIX, you can compile apisix-base with OpenSSL 3.0.
+OpenSSL 3.0
[supports](https://www.openssl.org/blog/blog/2022/08/24/FIPS-validation-certificate-issued/)
[FIPS](https://en.wikipedia.org/wiki/FIPS_140-2) mode. To support FIPS in
APISIX, you can compile apisix-runtime with OpenSSL 3.0.
## Compilation
-To compile apisix-base with OpenSSL 3.0, run the commands below as root user:
+To compile apisix-runtime with OpenSSL 3.0, run the commands below as root
user:
```bash
cd $(mktemp -d)
@@ -52,9 +52,9 @@ cd ..
export cc_opt="-I$OPENSSL3_PREFIX/openssl-3.0/include"
export ld_opt="-L$OPENSSL3_PREFIX/openssl-3.0/lib64
-Wl,-rpath,$OPENSSL3_PREFIX/openssl-3.0/lib64"
-wget
https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-base.sh
-chmod +x build-apisix-base.sh
-./build-apisix-base.sh latest
+wget --no-check-certificate
https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-runtime.sh
+chmod +x build-apisix-runtime.sh
+./build-apisix-runtime.sh
```
-This will install apisix-base to `/usr/local/openresty-debug`.
+This will install apisix-runtime to `/usr/local/openresty`.
diff --git a/docs/en/latest/wasm.md b/docs/en/latest/wasm.md
index e261bc3a3..c1702cced 100644
--- a/docs/en/latest/wasm.md
+++ b/docs/en/latest/wasm.md
@@ -23,7 +23,6 @@ title: Wasm
APISIX supports Wasm plugins written with [Proxy Wasm
SDK](https://github.com/proxy-wasm/spec#sdks).
-This plugin requires APISIX to run on
[APISIX-Base](./FAQ.md#how-do-i-build-the-apisix-base-environment), and is
under construction.
Currently, only a few APIs are implemented. Please follow
[wasm-nginx-module](https://github.com/api7/wasm-nginx-module) to know the
progress.
## Programming model
diff --git a/docs/en/latest/xrpc/redis.md b/docs/en/latest/xrpc/redis.md
index b918c0f6f..76ed9f139 100644
--- a/docs/en/latest/xrpc/redis.md
+++ b/docs/en/latest/xrpc/redis.md
@@ -36,7 +36,7 @@ The Redis protocol support allows APISIX to proxy Redis
commands, and provide va
:::note
-This feature requires APISIX to be run on
[APISIX-Base](../FAQ.md#how-do-i-build-the-apisix-base-environment).
+This feature requires APISIX to be run on
[APISIX-Runtime](../FAQ.md#how-do-i-build-the-apisix-runtime-environment).
It also requires the data sent from clients are well-formed and sane.
Therefore, it should only be used in deployments where both the downstream and
upstream are trusted.
diff --git a/docs/zh/latest/FAQ.md b/docs/zh/latest/FAQ.md
index 944f96195..823bd73eb 100644
--- a/docs/zh/latest/FAQ.md
+++ b/docs/zh/latest/FAQ.md
@@ -111,9 +111,9 @@ make deps ENV_LUAROCKS_SERVER=https://luarocks.cn
如果通过上述操作仍然无法解决问题,可以尝试使用 `--verbose` 或 `-v` 参数获取详细的日志来诊断问题。
-## 如何构建 APISIX-Base 环境?
+## 如何构建 APISIX-Runtime 环境?
-有些功能需要引入额外的 NGINX 模块,这就要求 APISIX 需要运行在 APISIX-Base 上。如果你需要这些功能,你可以参考
[api7/apisix-build-tools](https://github.com/api7/apisix-build-tools)
中的代码,构建自己的 APISIX-Base 环境。
+有些功能需要引入额外的 NGINX 模块,这就要求 APISIX 需要运行在 APISIX-Runtime 上。如果你需要这些功能,你可以参考
[api7/apisix-build-tools](https://github.com/api7/apisix-build-tools)
中的代码,构建自己的 APISIX-Runtime 环境。
## 我该如何使用 Apache APISIX 进行灰度发布?
diff --git a/docs/zh/latest/admin-api.md b/docs/zh/latest/admin-api.md
index 899fb4c44..60be95ec8 100644
--- a/docs/zh/latest/admin-api.md
+++ b/docs/zh/latest/admin-api.md
@@ -935,7 +935,7 @@ APISIX 的 Upstream 除了基本的负载均衡算法选择外,还支持对上
- 设为 `cookie` 时,`key` 为必传参数,其值为自定义的 cookie name,即 "cookie\_`key`"。请注意 cookie
name 是**区分大小写字母**的。例如:`cookie_x_foo` 与 `cookie_X_Foo` 表示不同的 `cookie`。
- 设为 `consumer` 时,`key` 不需要设置。此时哈希算法采用的 `key` 为认证通过的 `consumer_name`。
-以下特性需要 APISIX 运行于 [APISIX-Base](./FAQ.md#如何构建-APISIX-Base-环境?):
+以下特性需要 APISIX 运行于 [APISIX-Runtime](./FAQ.md#如何构建-APISIX-Runtime-环境?):
- `scheme` 可以设置成 `tls`,表示 `TLS over TCP`。
- `tls.client_cert/key` 可以用来跟上游进行 mTLS 通信。他们的格式和 SSL 对象的 `cert` 和 `key` 一样。
diff --git a/docs/zh/latest/building-apisix.md
b/docs/zh/latest/building-apisix.md
index 0796b73dd..40e48113e 100644
--- a/docs/zh/latest/building-apisix.md
+++ b/docs/zh/latest/building-apisix.md
@@ -200,11 +200,11 @@ apisix quit
apisix stop
```
-## 为 APISIX 构建 APISIX-Base
+## 为 APISIX 构建 APISIX-Runtime
APISIX 的一些特性需要在 OpenResty 中引入额外的 NGINX 模块。
-如果要使用这些功能,你需要构建一个自定义的 OpenResty 发行版(APISIX-Base)。请参考
[apisix-build-tools](https://github.com/api7/apisix-build-tools) 配置你的构建环境并进行构建。
+如果要使用这些功能,你需要构建一个自定义的 OpenResty 发行版(APISIX-Runtime)。请参考
[apisix-build-tools](https://github.com/api7/apisix-build-tools) 配置你的构建环境并进行构建。
## 运行测试用例
diff --git a/docs/zh/latest/mtls.md b/docs/zh/latest/mtls.md
index b9168065f..c96f48f2a 100644
--- a/docs/zh/latest/mtls.md
+++ b/docs/zh/latest/mtls.md
@@ -68,7 +68,7 @@ curl --cacert /data/certs/mtls_ca.crt --key
/data/certs/mtls_client.key --cert /
### 如何配置
-你需要构建 [APISIX-Base](./FAQ.md#如何构建-APISIX-Base-环境?),并且需要在配置文件中设定 `etcd.tls` 来使
ETCD 的双向认证功能正常工作。
+你需要构建 [APISIX-runtime](./FAQ.md#如何构建-APISIX-runtime-环境?),并且需要在配置文件中设定
`etcd.tls` 来使 ETCD 的双向认证功能正常工作。
```yaml title="conf/config.yaml"
deployment:
@@ -163,7 +163,7 @@ curl --resolve
'mtls.test.com:<APISIX_HTTPS_PORT>:<APISIX_URL>' "https://<APISIX
在配置 upstream 资源时,可以使用参数 `tls.client_cert` 和 `tls.client_key` 来配置 APISIX
用于与上游进行通讯时使用的证书。可参考 [Upstream API 文档](./admin-api.md#upstream)。
-该功能需要 APISIX 运行在 [APISIX-Base](./FAQ.md#如何构建-apisix-base-环境) 上。
+该功能需要 APISIX 运行在 [APISIX-Runtime](./FAQ.md#如何构建-apisix-runtime-环境) 上。
下面是一个与配置 SSL 时相似的 Python 脚本,可为一个已存在的 upstream 资源配置双向认证。如果需要,可修改 API 地址和 API
Key。
diff --git a/docs/zh/latest/plugins/client-control.md
b/docs/zh/latest/plugins/client-control.md
index 581d6c687..9994437f4 100644
--- a/docs/zh/latest/plugins/client-control.md
+++ b/docs/zh/latest/plugins/client-control.md
@@ -32,7 +32,7 @@ description: 本文介绍了 Apache APISIX proxy-control 插件的相关操作
:::info 重要
-此插件需要 APISIX 在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 环境上运行。更多信息请参考
[apisix-build-tools](https://github.com/api7/apisix-build-tools)。
+此插件需要 APISIX 在 [APISIX-Runtime](../FAQ.md#如何构建-apisix-Runtime-环境)
环境上运行。更多信息请参考 [apisix-build-tools](https://github.com/api7/apisix-build-tools)。
:::
diff --git a/docs/zh/latest/plugins/dubbo-proxy.md
b/docs/zh/latest/plugins/dubbo-proxy.md
index f8900c759..48dc2cf83 100644
--- a/docs/zh/latest/plugins/dubbo-proxy.md
+++ b/docs/zh/latest/plugins/dubbo-proxy.md
@@ -27,7 +27,7 @@ title: dubbo-proxy
## 要求
-如果你正在使用 `OpenResty`, 你需要编译它来支持 `dubbo`, 参考
[APISIX-Base](../FAQ.md#如何构建-apisix-base-环境)。
+如果你正在使用 `OpenResty`, 你需要编译它来支持 `dubbo`, 参考
[APISIX-Runtime](../FAQ.md#如何构建-apisix-runtime-环境)。
## 运行时属性
diff --git a/docs/zh/latest/plugins/gm.md b/docs/zh/latest/plugins/gm.md
index 68c3d48dd..317b23b42 100644
--- a/docs/zh/latest/plugins/gm.md
+++ b/docs/zh/latest/plugins/gm.md
@@ -36,7 +36,7 @@ description: 本文介绍了关于 Apache APISIX gm 插件的基本信息及使
## 启用插件
-**该插件要求 Apache APISIX 运行在编译了 Tongsuo 的 APISIX-Base 上。**
+**该插件要求 Apache APISIX 运行在编译了 Tongsuo 的 APISIX-Runtime 上。**
首先,我们需要安装 Tongsuo(此处我们选择编译出 Tongsuo 的动态链接库):
@@ -50,7 +50,7 @@ make -j2
sudo make install_sw
```
-其次,我们需要构建 APISIX-Base,让它使用 Tongsuo 作为 SSL 库:
+其次,我们需要构建 APISIX-Runtime,让它使用 Tongsuo 作为 SSL 库:
```
export OR_PREFIX=/usr/local/openresty
@@ -60,7 +60,7 @@ export pcre_prefix=$OR_PREFIX/pcre
export cc_opt="-DNGX_LUA_ABORT_AT_PANIC -I${zlib_prefix}/include
-I${pcre_prefix}/include -I${openssl_prefix}/include"
export ld_opt="-L${zlib_prefix}/lib -L${pcre_prefix}/lib
-L${openssl_prefix}/lib64
-Wl,-rpath,${zlib_prefix}/lib:${pcre_prefix}/lib:${openssl_prefix}/lib64"
-./build-apisix-base.sh
+./build-apisix-runtime.sh
```
该插件默认是禁用状态,你需要将其添加到配置文件(`./conf/config.yaml`)中才可以启用它:
diff --git a/docs/zh/latest/plugins/gzip.md b/docs/zh/latest/plugins/gzip.md
index c97072d27..d982e9180 100644
--- a/docs/zh/latest/plugins/gzip.md
+++ b/docs/zh/latest/plugins/gzip.md
@@ -33,7 +33,7 @@ description: 本文介绍了关于 Apache APISIX `gzip` 插件的基本信息及
:::info IMPORTANT
-该插件要求 Apache APISIX 运行在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 上。
+该插件要求 Apache APISIX 运行在 [APISIX-Runtime](../FAQ.md#如何构建-apisix-runtime-环境) 上。
:::
diff --git a/docs/zh/latest/plugins/prometheus.md
b/docs/zh/latest/plugins/prometheus.md
index ea0a9d096..fad3dd9eb 100644
--- a/docs/zh/latest/plugins/prometheus.md
+++ b/docs/zh/latest/plugins/prometheus.md
@@ -109,7 +109,7 @@ plugin_attr:
如果 Prometheus 插件收集的指标数量过多,在通过 URI 获取指标时,会占用 CPU 资源来计算指标数据,可能会影响 APISIX
处理正常请求。为解决此问题,APISIX 在 [privileged
agent](https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/process.md#enable_privileged_agent)
中暴露 URI 并且计算指标。
如果使用 public-api 插件暴露该 URI,那么 APISIX 将在普通的 worker 进程中计算指标数据,这仍可能会影响 APISIX
处理正常请求。
-该特性要求 APISIX 运行在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 上。
+该特性要求 APISIX 运行在 [APISIX-Runtime](../FAQ.md#如何构建-apisix-runtime-环境) 上。
:::
@@ -351,7 +351,7 @@ curl http://127.0.0.1:9180/apisix/admin/routes/1 -H
'X-API-KEY: edd1c9f034335f1
:::info IMPORTANT
-该功能要求 APISIX 运行在 [APISIX-Base](../FAQ.md#如何构建-APISIX-Base-环境?) 上。
+该功能要求 APISIX 运行在 [APISIX-Runtime](../FAQ.md#如何构建-APISIX-Runtime-环境?) 上。
:::
diff --git a/docs/zh/latest/plugins/proxy-control.md
b/docs/zh/latest/plugins/proxy-control.md
index a64603043..a9eafd238 100644
--- a/docs/zh/latest/plugins/proxy-control.md
+++ b/docs/zh/latest/plugins/proxy-control.md
@@ -32,7 +32,7 @@ description: 本文介绍了 Apache APISIX proxy-control 插件的相关操作
:::info 重要
-此插件需要 APISIX 在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 环境上运行。更多信息请参考
[apisix-build-tools](https://github.com/api7/apisix-build-tools)。
+此插件需要 APISIX 在 [APISIX-Runtime](../FAQ.md#如何构建-apisix-runtime-环境)
环境上运行。更多信息请参考 [apisix-build-tools](https://github.com/api7/apisix-build-tools)。
:::
diff --git a/docs/zh/latest/plugins/real-ip.md
b/docs/zh/latest/plugins/real-ip.md
index 0922541af..50514a1c4 100644
--- a/docs/zh/latest/plugins/real-ip.md
+++ b/docs/zh/latest/plugins/real-ip.md
@@ -35,7 +35,7 @@ description: 本文介绍了关于 Apache APISIX `real-ip` 插件的基本信息
:::info IMPORTANT
-该插件要求 APISIX 运行在 [APISIX-Base](../FAQ.md#如何构建-apisix-base-环境) 上。
+该插件要求 APISIX 运行在 [APISIX-Runtime](../FAQ.md#如何构建-apisix-runtime-环境) 上。
:::
diff --git a/docs/zh/latest/support-fips-in-apisix.md
b/docs/zh/latest/support-fips-in-apisix.md
index 92facc21f..6321a40d0 100644
--- a/docs/zh/latest/support-fips-in-apisix.md
+++ b/docs/zh/latest/support-fips-in-apisix.md
@@ -7,7 +7,7 @@ keywords:
- 贡献代码
- 构建 APISIX
- OpenSSL 3.0 FIPS
-description: 本文将介绍如何在 Apache APISIX 中使用 OpenSSL 3.0 来编译 apisix-base,即可启用 FIPS
模式。
+description: 本文将介绍如何在 Apache APISIX 中使用 OpenSSL 3.0 来编译 apisix-runtime,即可启用
FIPS 模式。
---
<!--
@@ -29,11 +29,11 @@ description: 本文将介绍如何在 Apache APISIX 中使用 OpenSSL 3.0 来编
#
-->
-目前,OpenSSL 3.0
[支持了](https://www.openssl.org/blog/blog/2022/08/24/FIPS-validation-certificate-issued/)
[FIPS](https://en.wikipedia.org/wiki/FIPS_140-2) 模式。为了在 APISIX 中支持 FIPS
模式,你应该使用 OpenSSL 3.0 来编译 apisix-base。
+目前,OpenSSL 3.0
[支持了](https://www.openssl.org/blog/blog/2022/08/24/FIPS-validation-certificate-issued/)
[FIPS](https://en.wikipedia.org/wiki/FIPS_140-2) 模式。为了在 APISIX 中支持 FIPS
模式,你应该使用 OpenSSL 3.0 来编译 apisix-runtime。
## 编译
-如果你需要使用 OpenSSL 3.0 来编译 apisix-base,请以 root 用户角色来执行以下命令:
+如果你需要使用 OpenSSL 3.0 来编译 apisix-runtime,请以 root 用户角色来执行以下命令:
```bash
cd $(mktemp -d)
@@ -52,9 +52,9 @@ cd ..
export cc_opt="-I$OPENSSL3_PREFIX/openssl-3.0/include"
export ld_opt="-L$OPENSSL3_PREFIX/openssl-3.0/lib64
-Wl,-rpath,$OPENSSL3_PREFIX/openssl-3.0/lib64"
-wget
https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-base.sh
-chmod +x build-apisix-base.sh
-./build-apisix-base.sh latest
+wget --no-check-certificate
https://raw.githubusercontent.com/api7/apisix-build-tools/master/build-apisix-runtime.sh
+chmod +x build-apisix-runtime.sh
+./build-apisix-runtime.sh
```
-apisix-base 将安装在 `/usr/local/openresty-debug`。
+apisix-runtime 将安装在 `/usr/local/openresty`。
diff --git a/docs/zh/latest/upgrade-guide-from-2.15.x-to-3.0.0.md
b/docs/zh/latest/upgrade-guide-from-2.15.x-to-3.0.0.md
index 20c47d9c9..914c2931f 100644
--- a/docs/zh/latest/upgrade-guide-from-2.15.x-to-3.0.0.md
+++ b/docs/zh/latest/upgrade-guide-from-2.15.x-to-3.0.0.md
@@ -58,7 +58,7 @@ APISIX 的版本号遵循[语义化版本](https://semver.org/lang/zh-CN/)。
如果你使用提供的二进制包(Debian 和 RHEL)或者镜像,则它们已经捆绑了 APISIX 所有必要的依赖项,你可以跳过本节。
-APISIX 的一些特性需要在 OpenResty 中引入额外的 NGINX 模块。如果要使用这些功能,你需要构建一个自定义的 OpenResty
发行版(APISIX-Base)。你可以参考
[api7/apisix-build-tools](https://github.com/api7/apisix-build-tools)
中的代码,构建自己的 APISIX-Base 环境。
+APISIX 的一些特性需要在 OpenResty 中引入额外的 NGINX 模块。如果要使用这些功能,你需要构建一个自定义的 OpenResty
发行版(APISIX-Runtime)。你可以参考
[api7/apisix-build-tools](https://github.com/api7/apisix-build-tools)
中的代码,构建自己的 APISIX-Runtime 环境。
如果你希望 APISIX 运行在原生的 OpenResty 上,这种情况下将只支持运行在 OpenResty 1.19.3.2 及以上的版本。
diff --git a/t/cli/test_apisix_mirror.sh b/t/cli/test_apisix_mirror.sh
index f54d7ddfd..5f685e77c 100755
--- a/t/cli/test_apisix_mirror.sh
+++ b/t/cli/test_apisix_mirror.sh
@@ -50,13 +50,13 @@ curl -k -i http://127.0.0.1:9080/get
sleep 0.1
if ! grep "apisix_mirror_on_demand on;" conf/nginx.conf > /dev/null; then
- echo "failed: apisix_mirror_on_demand should on when running on
apisix-base"
+ echo "failed: apisix_mirror_on_demand should on when running on
apisix-runtime"
exit 1
fi
if grep -E "invalid URL prefix" logs/error.log > /dev/null; then
- echo "failed: apisix_mirror_on_demand should on when running on
apisix-base"
+ echo "failed: apisix_mirror_on_demand should on when running on
apisix-runtime"
exit 1
fi
-echo "passed: apisix_mirror_on_demand is on when running on apisix-base"
+echo "passed: apisix_mirror_on_demand is on when running on apisix-runtime"
diff --git a/t/error_page/error_page.t b/t/error_page/error_page.t
index 35a29815f..c51185660 100644
--- a/t/error_page/error_page.t
+++ b/t/error_page/error_page.t
@@ -19,7 +19,7 @@ use t::APISIX;
my $nginx_binary = $ENV{'TEST_NGINX_BINARY'} || 'nginx';
my $version = eval { `$nginx_binary -V 2>&1` };
-# We put the error page into apisix-base. It is fine since this installation
is the default.
+# We put the error page into apisix-runtime. It is fine since this
installation is the default.
if ($version !~ m/\/apisix-nginx-module/) {
plan(skip_all => "apisix-nginx-module not installed");
} else {