HTTP directives
challenge directive (HTTP ACME)
Chooses HTTP-01 or TLS-ALPN-01 (also http or tls-alpn aliases). DNS-01 is not among the documented options. Plan public reachability only in an authorized environment. Context: acme_issuer. Documented default: http-01. Module release note: 0.2.0 introduced directive. Requires the separately available ACME module; confirm the exact package/build. Illustrative only, not executed.
Formal Syntax & Structure
nginx syntaxnginx
challenge type;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| type | enum | http-01 or tls-alpn-01; aliases select the newest implemented challenge version. |
Working Example
Example Snippetnginx
# Illustrative fragment; do not activate against a real CA.challenge tls-alpn-01;