From ef8150af95956f30e915637f9e2bc2fb41c2e7f8 Mon Sep 17 00:00:00 2001 From: derekdreery Date: Thu, 21 Nov 2013 17:33:19 +0000 Subject: [PATCH] Update README.md I struggled to get the section about using https to http with two certificates to work, because I didn't understand where the myCert etc. came from. Once I realised they had to be created by the user I could get it working. I want to save someone else the time it took me. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9c0ca04..86de9cf 100644 --- a/README.md +++ b/README.md @@ -344,6 +344,10 @@ var certs = { // // Proxy options // +// This section assumes that myCert, myKey and myCa are defined (they are not +// in this example). With a SNICallback, the proxy needs a default set of +// certificates to use. +// var options = { https: { SNICallback: function (hostname) {