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.
This commit is contained in:
derekdreery 2013-11-21 17:33:19 +00:00
parent 611a1b1961
commit ef8150af95

View File

@ -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) {