pass homedir

This commit is contained in:
AJ ONeal 2016-10-27 02:57:18 -06:00
parent 6ab2ea7527
commit 39e6754b1f
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ function createServer(port, pubdir, content, opts) {
, 'dns-01': leChallengeDdns , 'dns-01': leChallengeDdns
} }
, challengeType: (opts.tunnel ? 'http-01' : 'dns-01') , challengeType: (opts.tunnel ? 'http-01' : 'dns-01')
, store: require('le-store-certbot').create({ webrootPath: webrootPath }) , store: require('le-store-certbot').create({ webrootPath: webrootPath, homedir: opts.homedir })
, webrootPath: webrootPath , webrootPath: webrootPath
// You probably wouldn't need to replace the default sni handler // You probably wouldn't need to replace the default sni handler