Today I had to migrate a site from one server to another, and I did set up Certbot.
I already had a few other configurations with Certbot on that server, and I did test Certbot renewal.
I noticed for the other sites, I got the message that it was reloading Nginx, but for the newly set up domain it wasn’t.
So, I looked into
/etc/letsencrypt/renewal/ and took a look at the configs.
I noticed the pre-existing configs had a line that the new config did not have:
installer = nginx
Which is right under the line
authenticator = nginx
So, I added it manually and in then it should look like this:
authenticator = nginx installer = nginx
Afterwards I did try:
certbot renew --force-renewal
And now it was reloading Nginx after renewing the certificate, great!
That’s all there is to it.
Leave A Comment