fix issue #77 don't show replacing le-sni-auto in example

This commit is contained in:
AJ ONeal 2016-08-18 12:58:40 -06:00 committed by GitHub
parent 412b0a6bf7
commit 22db053e6c
1 changed files with 4 additions and 1 deletions

View File

@ -113,7 +113,10 @@ var lex = require('letsencrypt-express').create({
// //
, challenges: { 'http-01:' require('le-challenge-fs').create({ webrootPath: '/tmp/acme-challenges' }) } , challenges: { 'http-01:' require('le-challenge-fs').create({ webrootPath: '/tmp/acme-challenges' }) }
, store: require('le-store-certbot').create({ webrootPath: '/tmp/acme-challenges' }) , store: require('le-store-certbot').create({ webrootPath: '/tmp/acme-challenges' })
, sni: require('le-sni-auto').create({})
// You probably wouldn't need to replace the default sni handler
// See https://github.com/Daplie/le-sni-auto if you think you do
//, sni: require('le-sni-auto').create({})
, approveDomains: approveDomains , approveDomains: approveDomains
}); });