Welcome! Log In Create A New Profile

Advanced

Re: nginx Restart Issue after Cert-Update (Letsencrypt)

Maxim Dounin
December 08, 2022 03:02PM
Hello!

On Thu, Dec 08, 2022 at 04:11:11AM -0500, anfassl wrote:

> we've got a strange issue with nginx and letsencrypt.
> - A daily job is configured to run "certbot renew", which updates all the
> certs on a webserver (round about 30 certs)
> - After the certbot run we do issue a nginx reload
>
> Issue: The certs aren't updated in nginx
> We've than added a hard nginx stop/start in the script. But this doesn't
> cure the problem.
> When issueing the stop/start on the command line, all is fine.
>
> Any idea, what is the cause for this?
> I've did lots of googling, and searching here in the forum as well, but
> without any hint.

Try looking into nginx error log, the one specified at the global
level. If there is an issue with reloading configuration, nginx
will complain there.

It should also help to make sure that nginx was actually asked by
your script to reload. You'll have to set the logging level to
"notice" though, see http://nginx.org/r/error_log for details.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

nginx Restart Issue after Cert-Update (Letsencrypt)

anfassl December 08, 2022 04:11AM

Re: nginx Restart Issue after Cert-Update (Letsencrypt)

Maxim Dounin December 08, 2022 03:02PM

Re: nginx Restart Issue after Cert-Update (Letsencrypt)

anfassl December 11, 2022 08:11AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 170
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready