2
0
mirror of https://git.coolaj86.com/coolaj86/le-sni-auto.js.git synced 2025-05-10 02:56:31 +00:00

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

View File

@ -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)`.