Re: do not fail when ssl cert not present.

2015-07-28 Thread Mikutems Bolly
By means of many follow organisations heading to make sure you in-house created routines, could there be any sort of issue that this change can make the software tougher to your timepieces to generally be maintained 20-50 years of age right from nowadays? Might foreign exchange trading modifica

Re: do not fail when ssl cert not present.

2015-06-19 Thread Maxim Dounin
Hello! On Thu, Jun 18, 2015 at 11:22:27PM +0200, Christ-Jan Wijtmans wrote: > > If you want nginx to only load existing certificates, you'll have > > to teach it to do so by only using appropriate directives when > > certificates and keys are actually available. The "include" > > directive may h

Re: do not fail when ssl cert not present.

2015-06-18 Thread Christ-Jan Wijtmans
> If you want nginx to only load existing certificates, you'll have > to teach it to do so by only using appropriate directives when > certificates and keys are actually available. The "include" > directive may help if you want to automate this, see > http://nginx.org/r/include. I dont see how in

Re: do not fail when ssl cert not present.

2015-06-18 Thread Maxim Dounin
Hello! On Thu, Jun 18, 2015 at 05:04:16PM +0200, Christ-Jan Wijtmans wrote: > I tried to not fail the nginx server if ssl cert is not available. > However the directive is not even allowed inside a statement. > > if (-f /var/www/x/etc/ssl.crt) > { >ssl_certificate

RE: do not fail when ssl cert not present.

2015-06-18 Thread Lukas Tribus
Hi, > I tried to not fail the nginx server if ssl cert is not available. You do that by checking the config first (nginx -t), if successful, then you reload. This is the proper way to do it. > Also i do not believe its proper to fail the entire server if one > server block fails. It is.

do not fail when ssl cert not present.

2015-06-18 Thread Christ-Jan Wijtmans
I tried to not fail the nginx server if ssl cert is not available. However the directive is not even allowed inside a statement. if (-f /var/www/x/etc/ssl.crt) { ssl_certificate /var/www/x/etc/ssl.crt; ssl_certificate_key /var/www/x/etc/ssl.key;