How to avoid nginx failure in case of bad certificate ?
Anoop Alias
anoopalias01 at gmail.com
Sun Jan 13 13:20:09 UTC 2019
You can reload instead of restart and nginx would continue working on old
config if the new one is invalid
On Sun, Jan 13, 2019 at 2:31 PM Pierre Couderc <pierre at couderc.eu> wrote:
> In case of bad certificate (certificate file missing for exemple), nginx
> fails to restart.
>
> Is there a way to avoid that ?
>
> There may be an error on one site without stopping all other correct sites.
>
> This occurs particularly in case we remove an old site, and make an
> error in configuration files : a few months later, let's encrypt tries
> to renew the certificate in the night and fails, then restarts nginx
> which fails because missing a no more used certificate, and the full
> site is stoped....
>
> Thanks.
>
> PC
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
--
*Anoop P Alias*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190113/56b4c2c9/attachment.html>
More information about the nginx
mailing list