nginx.conf: Add support for default SSL certificate served to clients with old browsers

This commit is contained in:
Aitte 2013-02-24 16:02:26 -05:00 committed by Andy Dawson
parent 43b1015b23
commit 5b798dda77
1 changed files with 5 additions and 0 deletions

View File

@ -103,5 +103,10 @@ http {
ssl_session_cache shared:SSL:10m; # a 1mb cache can hold about 4000 sessions, so we can hold 40000 sessions
ssl_session_timeout 10m;
# This default SSL certificate will be served whenever the client lacks support for SNI (Server Name Indication).
# Make it a symlink to the most important certificate you have, so that users of IE 8 and below on WinXP can see your main site without SSL errors.
#ssl_certificate /etc/nginx/default_ssl.crt;
#ssl_certificate_key /etc/nginx/default_ssl.key;
include sites-enabled/*;
}