mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
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:
parent
611a1b1961
commit
ef8150af95
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user