HTTP directives

state_path directive (HTTP ACME)

Controls disk storage for sensitive issuer state. Off disables persistent storage; a restart can then require fresh account/certificate work. Restrict access and rehearse recovery. Context: acme_issuer. Documented default: acme_<issuer>. Module release note: 0.2.0 added off and default persistence. Requires the separately available ACME module; confirm the exact package/build. Illustrative only, not executed.

Formal Syntax & Structure

nginx syntaxnginx
state_path path | off;

Parameters & Attributes

NameTypeDescription
path | offpath or literalPrivate issuer state directory or disable disk persistence.

Working Example

Example Snippetnginx
# Illustrative fragment; do not activate against a real CA.state_path /var/lib/nginx/training-acme;
Nginx Reference