Welcome! Log In Create A New Profile

Advanced

do not fail when ssl cert not present.

June 18, 2015 11:06AM
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;
}


Also i do not believe its proper to fail the entire server if one
server block fails.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

do not fail when ssl cert not present.

chris-breda June 18, 2015 11:06AM

RE: do not fail when ssl cert not present.

Lukas Tribus June 18, 2015 12:04PM

Re: do not fail when ssl cert not present.

Maxim Dounin June 18, 2015 01:26PM

Re: do not fail when ssl cert not present.

chris-breda June 18, 2015 05:24PM

Re: do not fail when ssl cert not present.

Maxim Dounin June 19, 2015 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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