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-script

Parameters & Attributes

NameTypeDescription
command--deploy-hook COMMANDPass 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
Nginx Reference