knowledge_base:software_setup:certbot_renew
certbot: autorenew with nginx and webroot
step 1: add to crontab1)
- crontab -e
0 12 * * * /usr/bin/certbot renew --quiet
step 2: add renewal hook to restart nginx for the new certificate2)
- /etc/letsencrypt/cli.ini
deploy-hook = systemctl reload nginx
/app/www/public/data/pages/knowledge_base/software_setup/certbot_renew.txt · Zuletzt geändert: 2023/01/31 20:02 von julian.lemmerich