HTTP directives

proxy_ssl_certificate_cache directive (HTTP)

Cache dynamically selected client certificates and keys used for origin TLS, reducing repeated loads. Rotation must account for entry lifetime. Context: http, server, location. Documented default: off. Version: 1.27.4. OSS documentation; verify build and version. Partial configuration for an isolated synthetic lab; not a production policy.

Formal Syntax & Structure

nginx syntaxnginx
proxy_ssl_certificate_cache off | max=N [inactive=time] [valid=time];

Parameters & Attributes

NameTypeDescription
offliteral offDisable caching; alternative to max form.
maxmax=positive integerRequired in enabled form; bounds entry count.
inactiveinactive=durationRemove unused entries after interval; default 10s.
validvalid=durationReuse before refresh; default 60s.

Working Example

Example Snippetnginx
proxy_ssl_certificate_cache max=16 inactive=20s valid=30s;
Nginx Reference