HTTP directives
ssl_ocsp_cache directive (HTTP)
Cache client-certificate OCSP status across workers; avoid confusing status caching with TLS session caching. Context: http, server. Documented default: off. Version: 1.19.0. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
ssl_ocsp_cache off | shared:name:size;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode | off | shared:name:size | Disable or name a shared status cache and its byte capacity. |
Working Example
Example Snippetnginx
ssl_ocsp_cache shared:client_status:1m;