HTTP directives

proxy_ssl_verify_depth directive (HTTP)

Set the depth bound used during origin certificate-chain verification. Size it for the intended chain, not as a substitute for trust. Context: http, server, location. Documented default: 1. Version: 1.7.0. OSS documentation; verify build and version. Partial configuration for an isolated synthetic lab; not a production policy.

Formal Syntax & Structure

nginx syntaxnginx
proxy_ssl_verify_depth number;

Parameters & Attributes

NameTypeDescription
numbernonnegative integerVerification-depth setting for the TLS library.

Working Example

Example Snippetnginx
proxy_ssl_verify_depth 2;
Nginx Reference