Skip to content

Commit 8bfffde

Browse files
authored
doc: typo fixes.
1 parent 5eb0d37 commit 8bfffde

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ngx/ssl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ server_port
270270
**context:** *any*
271271

272272
Returns the server port. Returns `nil`
273-
when server dont have a port.
273+
when the server does not have a port.
274274

275275
In case of failures, it returns `nil` *and* a string describing the error.
276276

lib/ngx/ssl/clienthello.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Description
7272

7373
This Lua module provides API functions for post-processing SSL client hello message for NGINX downstream connections.
7474

75-
It must to be used in the contexts [ssl_client_hello_by_lua*](https://github.com/openresty/lua-nginx-module/#ssl_client_hello_by_lua_block).
75+
It must be used in the context [ssl_client_hello_by_lua*](https://github.com/openresty/lua-nginx-module/#ssl_client_hello_by_lua_block).
7676

7777
This Lua API is particularly useful for dynamically setting the SSL protocols according to the SNI.
7878

lib/ngx/ssl/proxysslverify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Description
6464

6565
This Lua module provides API functions for post-processing SSL server certificate message for NGINX upstream connections.
6666

67-
It must to be used in the contexts [proxy_ssl_verify_by_lua*](https://github.com/openresty/lua-nginx-module/#proxy_ssl_verify_by_lua_block).
67+
It must be used in the context [proxy_ssl_verify_by_lua*](https://github.com/openresty/lua-nginx-module/#proxy_ssl_verify_by_lua_block).
6868

6969
This directive runs user Lua code when Nginx is about to post-process the SSL server certificate message for the upstream SSL (https) connections.
7070

0 commit comments

Comments
 (0)