File tree 2 files changed +5
-10
lines changed
2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Production ready.
19
19
* Request pipelining
20
20
* Trailers
21
21
* HTTP proxy connections
22
+ * mTLS (requires ` ngx_lua_http_module ` >= v0.10.23)
22
23
23
24
24
25
## API
@@ -176,6 +177,8 @@ The options table has the following fields:
176
177
* ` ssl_verify` : option as per [OpenResty docs ](https :// github .com / openresty / lua - nginx - module # tcpsocksslhandshake ), except that it defaults to ` true` .
177
178
* ` ssl_server_name` : option as per [OpenResty docs ](https :// github .com / openresty / lua - nginx - module # tcpsocksslhandshake )
178
179
* ` ssl_send_status_req` : option as per [OpenResty docs ](https :// github .com / openresty / lua - nginx - module # tcpsocksslhandshake )
180
+ * ` ssl_client_cert` : will be passed to ` tcpsock:setclientcert` . Requires ` ngx_lua_http_module` >= v0 .10.23.
181
+ * ` ssl_client_priv_key` : as above .
179
182
180
183
## set \_timeout
181
184
Original file line number Diff line number Diff line change @@ -30,16 +30,8 @@ client:connect {
30
30
ssl_verify = true, -- NOTE: defaults to true
31
31
ctx = nil, -- NOTE: not supported
32
32
33
- -- mTLS options (experimental!)
34
- --
35
- -- !!! IMPORTANT !!! These options require support for mTLS in cosockets,
36
- -- which is currently only available in the following unmerged PRs.
37
- --
38
- -- * https://github.com/openresty/lua-nginx-module/pull/1602
39
- -- * https://github.com/openresty/lua-resty-core/pull/278
40
- --
41
- -- The details of this feature may change. You have been warned!
42
- --
33
+ -- mTLS options: These require support for mTLS in cosockets, which first
34
+ -- appeared in `ngx_http_lua_module` v0.10.23.
43
35
ssl_client_cert = nil,
44
36
ssl_client_priv_key = nil,
45
37
You can’t perform that action at this time.
0 commit comments