Update README.md
This commit is contained in:
parent
bb9405c598
commit
ee67a5bc8b
|
@ -62,9 +62,7 @@ http.createServer(le.middleware(redirectHttps));
|
||||||
|
|
||||||
|
|
||||||
var app = require('express')();
|
var app = require('express')();
|
||||||
var httpsOptions = { SNICallback: le.sni.callback };
|
https.createServer(le.httpsOptions, le.middleware(app)).listen(443);
|
||||||
httpsOptions = require('localhost.daplie.com-certificates').merge(httpsOptions);
|
|
||||||
https.createServer(dummyCerts, le.middleware(app)).listen(443);
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also provide a thunk-style `getCertificates(domain, certs, cb)`.
|
You can also provide a thunk-style `getCertificates(domain, certs, cb)`.
|
||||||
|
|
Loading…
Reference in New Issue