ACME and certificate operations
Certbot deploy hook
Runs a configured hook after actual successful renewal. Review execution identity and exact Nginx instance. Verify the served certificate independently.
Formal Syntax & Structure
nginx syntaxnginx
certbot renew --deploy-hook /path/to/reviewed-scriptParameters & Attributes
| Name | Type | Description |
|---|---|---|
| command | --deploy-hook COMMAND | Pass an approved shell command to run after successful renewal; quote multiword commands as one argument. Use a reviewed absolute script path. |
Working Example
Example Snippetnginx
certbot renew --deploy-hook /path/to/reviewed-script