Skip to content

Commit

Permalink
Merge pull request #566 from Septembers/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
yawnt committed Jan 28, 2014
2 parents 8004f4e + 4ecc6e2 commit b606735
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ httpProxy.createServer({
port: 9009
},
ssl: {
key: fs.readFileSync('valid-ssl-key.pem'), 'utf8'),
cert: fs.readFileSync('valid-ssl-cert.pem'), 'utf8')
key: fs.readFileSync('valid-ssl-key.pem', 'utf8'),
cert: fs.readFileSync('valid-ssl-cert.pem', 'utf8')
}
}).listen(8009);
```
Expand All @@ -213,8 +213,8 @@ httpProxy.createServer({
//
httpProxy.createServer({
ssl: {
key: fs.readFileSync('valid-ssl-key.pem'), 'utf8'),
cert: fs.readFileSync('valid-ssl-cert.pem'), 'utf8')
key: fs.readFileSync('valid-ssl-key.pem', 'utf8'),
cert: fs.readFileSync('valid-ssl-cert.pem', 'utf8')
},
target: 'https://localhost:9010',
secure: true // Depends on your needs, could be false.
Expand Down

0 comments on commit b606735

Please sign in to comment.