Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ngx/ssl.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ server_port
**context:** *any*

Returns the server port. Returns `nil`
when server dont have a port.
when the server does not have a port.

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

Expand Down
2 changes: 1 addition & 1 deletion lib/ngx/ssl/clienthello.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Description

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion lib/ngx/ssl/proxysslverify.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Description

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

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

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

Expand Down