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
| Name | Type | Description |
|---|---|---|
| off | literal off | Disable caching; alternative to max form. |
| max | max=positive integer | Required in enabled form; bounds entry count. |
| inactive | inactive=duration | Remove unused entries after interval; default 10s. |
| valid | valid=duration | Reuse before refresh; default 60s. |
Working Example
Example Snippetnginx
proxy_ssl_certificate_cache max=16 inactive=20s valid=30s;