This is an automated email from the ASF dual-hosted git repository.

agile6v pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e9cd56  Fixed some typos. (#1391)
8e9cd56 is described below

commit 8e9cd56c630ad8501f3920dfc46b5fe9c5907b27
Author: agile6v <[email protected]>
AuthorDate: Fri Apr 3 21:38:13 2020 +0800

    Fixed some typos. (#1391)
---
 apisix/core/config_local.lua    | 2 +-
 doc/README.md                   | 2 +-
 doc/how-to-build-cn.md          | 1 +
 doc/how-to-build.md             | 1 +
 doc/plugins/redirect.md         | 2 +-
 doc/plugins/response-rewrite.md | 2 +-
 6 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/apisix/core/config_local.lua b/apisix/core/config_local.lua
index bb32efc..403b8ac 100644
--- a/apisix/core/config_local.lua
+++ b/apisix/core/config_local.lua
@@ -32,7 +32,7 @@ local _M = {
 local function read_file(path)
     local file, err = io_open(path, "rb")   -- read as binary mode
     if not file then
-        log.error("faild to read config file:" .. path, ", error info:", err)
+        log.error("failed to read config file:" .. path, ", error info:", err)
         return nil, err
     end
 
diff --git a/doc/README.md b/doc/README.md
index 40da08e..561d3a0 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -63,7 +63,7 @@ Plugins
 * [udp-logger](plugins/udp-logger.md): Log requests to UDP servers.
 * [proxy-mirror](plugins/proxy-mirror.md): Provides the ability to mirror 
client requests.
 * [kafka-logger](plugins/kafka-logger.md): Log requests to External Kafka 
servers.
-* [cors](plugins/cors.md): Enbale cors for you api.
+* [cors](plugins/cors.md): Enable CORS(Cross-origin resource sharing) for your 
API.
 
 Deploy to the Cloud
 =======
diff --git a/doc/how-to-build-cn.md b/doc/how-to-build-cn.md
index a6f1fdc..4555c25 100644
--- a/doc/how-to-build-cn.md
+++ b/doc/how-to-build-cn.md
@@ -93,6 +93,7 @@ Makefile rules:
     init:          Initialize the runtime environment
     run:           Start the apisix server
     stop:          Stop the apisix server
+    verify:        Verify the configuration of apisix server
     clean:         Remove generated files
     reload:        Reload the apisix server
     install:       Install the apisix
diff --git a/doc/how-to-build.md b/doc/how-to-build.md
index 22cad28..12024d8 100644
--- a/doc/how-to-build.md
+++ b/doc/how-to-build.md
@@ -95,6 +95,7 @@ Makefile rules:
     init:          Initialize the runtime environment
     run:           Start the apisix server
     stop:          Stop the apisix server
+    verify:        Verify the configuration of apisix server
     clean:         Remove generated files
     reload:        Reload the apisix server
     install:       Install the apisix
diff --git a/doc/plugins/redirect.md b/doc/plugins/redirect.md
index 86a12ab..187cdc9 100644
--- a/doc/plugins/redirect.md
+++ b/doc/plugins/redirect.md
@@ -34,7 +34,7 @@ URI redirect.
 
 |Name    |Requirement|Description|
 |------- |-----|------|
-|uri     |required| New uri which can contain Ningx variable, eg: 
`/test/index.html`, `$uri/index.html`. You can refer to variables in a way 
similar to `${xxx}` to avoid ambiguity, eg: `${uri}foo/index.html`. If you just 
need the original `$` character, add `\` in front of it, like this one: 
`/\$foo/index.html`. If you refer to a variable name that does not exist, this 
will not produce an error, and it will be used as an empty string.|
+|uri     |required| New uri which can contain Nginx variable, eg: 
`/test/index.html`, `$uri/index.html`. You can refer to variables in a way 
similar to `${xxx}` to avoid ambiguity, eg: `${uri}foo/index.html`. If you just 
need the original `$` character, add `\` in front of it, like this one: 
`/\$foo/index.html`. If you refer to a variable name that does not exist, this 
will not produce an error, and it will be used as an empty string.|
 |ret_code|optional|Response code, the default value is `302`.|
 
 ## How To Enable
diff --git a/doc/plugins/response-rewrite.md b/doc/plugins/response-rewrite.md
index 3af540f..b2c26c5 100644
--- a/doc/plugins/response-rewrite.md
+++ b/doc/plugins/response-rewrite.md
@@ -31,7 +31,7 @@ response rewrite plugin, rewrite the content from upstream.
 
 **senario**:
 1. can set `Access-Control-Allow-*` series field to support CORS(Cross-origin 
Resource Sharing).
-2. we can set customized `status_code` and `Location` field in header to 
achieve redirect, you can alse use [redirect](redirect-cn.md) plugin if you 
just want a redirection.
+2. we can set customized `status_code` and `Location` field in header to 
achieve redirect, you can alse use [redirect](redirect.md) plugin if you just 
want a redirection.
 
 ## Attributes
 |Name    |Requirement|Description|

Reply via email to