]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
SSL: caching certificates and certificate keys with variables.
authorSergey Kandaurov <pluknet@nginx.com>
Tue, 29 Oct 2024 12:25:11 +0000 (16:25 +0400)
committerpluknet <pluknet@nginx.com>
Fri, 17 Jan 2025 00:37:46 +0000 (04:37 +0400)
commit0e756d67aa1e42e3b1b360936eb4d6c06bced2c1
tree6dc91cb2bc0c35eb71870280fd615f2ec6f133c4
parent7677d5646aeb761b8b9da5af3eb10c008aae3f90
SSL: caching certificates and certificate keys with variables.

A new directive "ssl_certificate_cache max=N [valid=time] [inactive=time]"
enables caching of SSL certificate chain and secret key objects specified
by "ssl_certificate" and "ssl_certificate_key" directives with variables.

Co-authored-by: Aleksei Bavshin <a.bavshin@nginx.com>
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_cache.c
src/http/modules/ngx_http_ssl_module.c
src/http/modules/ngx_http_ssl_module.h
src/http/ngx_http_request.c
src/http/ngx_http_upstream.c
src/stream/ngx_stream_proxy_module.c
src/stream/ngx_stream_ssl_module.c
src/stream/ngx_stream_ssl_module.h