Update README.md

This commit is contained in:
AJ ONeal 2016-08-16 11:20:28 -06:00 committed by GitHub
parent bb9405c598
commit ee67a5bc8b
1 changed files with 1 additions and 3 deletions

View File

@ -62,9 +62,7 @@ http.createServer(le.middleware(redirectHttps));
var app = require('express')();
var httpsOptions = { SNICallback: le.sni.callback };
httpsOptions = require('localhost.daplie.com-certificates').merge(httpsOptions);
https.createServer(dummyCerts, le.middleware(app)).listen(443);
https.createServer(le.httpsOptions, le.middleware(app)).listen(443);
```
You can also provide a thunk-style `getCertificates(domain, certs, cb)`.