add missing approveDomains

This commit is contained in:
AJ ONeal 2018-05-11 21:09:49 -06:00
parent a5a3b70f15
commit 283f70b42f
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ var greenlock = Greenlock.create({
version: 'draft-11' version: 'draft-11'
, server: 'https://acme-' + acmeEnv + 'v02.api.letsencrypt.org/directory' , server: 'https://acme-' + acmeEnv + 'v02.api.letsencrypt.org/directory'
// approve a growing list of domains
, approveDomains: approveDomains
// If you wish to replace the default account and domain key storage plugin // If you wish to replace the default account and domain key storage plugin
, store: require('le-store-certbot').create({ , store: require('le-store-certbot').create({
configDir: path.join(os.homedir(), 'acme/etc') configDir: path.join(os.homedir(), 'acme/etc')