From 2d64e15f959c430643b951b219d6609fa11900fd Mon Sep 17 00:00:00 2001 From: mooncake Date: Sat, 10 Nov 2018 19:33:51 +0800 Subject: [PATCH] Fix some documents issues Signed-off-by: mooncake --- docs/user-guide/ingress-path-matching.md | 2 +- docs/user-guide/nginx-configuration/configmap.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user-guide/ingress-path-matching.md b/docs/user-guide/ingress-path-matching.md index 097e9d33f5..11c999a12f 100644 --- a/docs/user-guide/ingress-path-matching.md +++ b/docs/user-guide/ingress-path-matching.md @@ -34,7 +34,7 @@ location ~* "^/foo/.*" { ## Path Priority -In NGINX, regular expressions follow a **first match** policy. In order to enable more acurate path matching, ingress-nginx first orders the paths by descending length before writing them to the NGINX template as location blocks. +In NGINX, regular expressions follow a **first match** policy. In order to enable more accurate path matching, ingress-nginx first orders the paths by descending length before writing them to the NGINX template as location blocks. **Please read the [warning](#warning) before using regular expressions in your ingress definitions.** diff --git a/docs/user-guide/nginx-configuration/configmap.md b/docs/user-guide/nginx-configuration/configmap.md index 85615f26b0..f2d9b1ddf0 100644 --- a/docs/user-guide/nginx-configuration/configmap.md +++ b/docs/user-guide/nginx-configuration/configmap.md @@ -830,14 +830,14 @@ _**default:**_ "/.well-known/acme-challenge" ## block-cidrs -A comma-separated list of IP addresses (or subnets), requestst from which have to be blocked globally. +A comma-separated list of IP addresses (or subnets), request from which have to be blocked globally. _References:_ [http://nginx.org/en/docs/http/ngx_http_access_module.html#deny](http://nginx.org/en/docs/http/ngx_http_access_module.html#deny) ## block-user-agents -A comma-separated list of User-Agent, requestst from which have to be blocked globally. +A comma-separated list of User-Agent, request from which have to be blocked globally. It's possible to use here full strings and regular expressions. More details about valid patterns can be found at `map` Nginx directive documentation. _References:_ @@ -845,7 +845,7 @@ _References:_ ## block-referers -A comma-separated list of Referers, requestst from which have to be blocked globally. +A comma-separated list of Referers, request from which have to be blocked globally. It's possible to use here full strings and regular expressions. More details about valid patterns can be found at `map` Nginx directive documentation. _References:_