HTTP directives

preferred_chain directive (HTTP ACME)

Requests an alternative chain by its top certificate issuer common name. If no match exists, the issuer default is used; inspect the actual chain. Context: acme_issuer. Documented default: none. Module release note: 0.3.0 introduced directive. Requires the separately available ACME module; confirm the exact package/build. Illustrative only, not executed.

Formal Syntax & Structure

nginx syntaxnginx
preferred_chain name;

Parameters & Attributes

NameTypeDescription
namestringRequested chain CA common name.

Working Example

Example Snippetnginx
# Illustrative fragment; do not activate against a real CA.preferred_chain "Training Root CA";
Nginx Reference