Skip to content

Commit ef8150a

Browse files
committed
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.
1 parent 611a1b1 commit ef8150a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: README.md

+4
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ var certs = {
344344
//
345345
// Proxy options
346346
//
347+
// This section assumes that myCert, myKey and myCa are defined (they are not
348+
// in this example). With a SNICallback, the proxy needs a default set of
349+
// certificates to use.
350+
//
347351
var options = {
348352
https: {
349353
SNICallback: function (hostname) {

0 commit comments

Comments
 (0)