From f8188813c1ac799ade3b773a7aa428b745139012 Mon Sep 17 00:00:00 2001 From: AntonHD <121188865+GitonioDev@users.noreply.github.com> Date: Fri, 9 Oct 2026 20:12:52 +0200 Subject: [PATCH] Change certbot cron job to reload nginx Updated the certbot cron job command to use 'reload' instead of 'restart' for nginx, to avoid killing the process when a cert is refreshed, this will also avoid dropping connections. --- tutorials/creating_ssl_certificates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/creating_ssl_certificates.md b/tutorials/creating_ssl_certificates.md index dddc1a8a8..7853a1496 100644 --- a/tutorials/creating_ssl_certificates.md +++ b/tutorials/creating_ssl_certificates.md @@ -62,7 +62,7 @@ For advanced users, we suggest installing and using [acme.sh](https://acme.sh) which provides more options, and is much more powerful than certbot. ``` text -0 23 * * * certbot renew --quiet --deploy-hook "systemctl restart nginx" +0 23 * * * certbot renew --quiet --deploy-hook "systemctl reload nginx" ``` ### Troubleshooting