Welcome! Log In Create A New Profile

Advanced

Re: How to avoid nginx failure in case of bad certificate ?

Pierre Couderc
January 14, 2019 01:18AM
Thank you very much... So simple solution !

On 1/13/19 2:20 PM, Anoop Alias wrote:
> 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@couderc.eu
> <mailto:pierre@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@nginx.org <mailto:nginx@nginx.org>
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> --
> *Anoop P Alias*
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to avoid nginx failure in case of bad certificate ?

Pierre Couderc January 13, 2019 04:02AM

Re: How to avoid nginx failure in case of bad certificate ?

Anoop Alias January 13, 2019 08:22AM

Re: How to avoid nginx failure in case of bad certificate ?

Pierre Couderc January 14, 2019 01:18AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 320
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