use approvedDomains for array, approveDomains for function
This commit is contained in:
parent
8f6aa1cc8c
commit
df9a27ec20
|
@ -165,7 +165,7 @@ require('greenlock-express').create({
|
||||||
|
|
||||||
// You MUST change these to valid domains
|
// You MUST change these to valid domains
|
||||||
// NOTE: all domains will validated and listed on the certificate
|
// NOTE: all domains will validated and listed on the certificate
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
|
|
||||||
// You MUST NOT build clients that accept the ToS without asking the user
|
// You MUST NOT build clients that accept the ToS without asking the user
|
||||||
, agreeTos: true
|
, agreeTos: true
|
||||||
|
|
|
@ -22,7 +22,7 @@ var greenlock = Greenlock.create({
|
||||||
|
|
||||||
// You MUST change these to valid domains
|
// You MUST change these to valid domains
|
||||||
// NOTE: all domains will validated and listed on the certificate
|
// NOTE: all domains will validated and listed on the certificate
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
|
|
||||||
// You MUST have access to write to directory where certs are saved
|
// You MUST have access to write to directory where certs are saved
|
||||||
// ex: /home/foouser/acme/etc
|
// ex: /home/foouser/acme/etc
|
||||||
|
|
|
@ -20,7 +20,7 @@ var greenlock = Greenlock.create({
|
||||||
|
|
||||||
// You MUST change these to valid domains
|
// You MUST change these to valid domains
|
||||||
// NOTE: all domains will validated and listed on the certificate
|
// NOTE: all domains will validated and listed on the certificate
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
|
|
||||||
// You MUST have access to write to directory where certs are saved
|
// You MUST have access to write to directory where certs are saved
|
||||||
// ex: /home/foouser/acme/etc
|
// ex: /home/foouser/acme/etc
|
||||||
|
|
|
@ -18,7 +18,7 @@ require('../').create({
|
||||||
|
|
||||||
// You MUST change these to valid domains
|
// You MUST change these to valid domains
|
||||||
// NOTE: all domains will validated and listed on the certificate
|
// NOTE: all domains will validated and listed on the certificate
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
|
|
||||||
// You MUST have access to write to directory where certs are saved
|
// You MUST have access to write to directory where certs are saved
|
||||||
// ex: /home/foouser/acme/etc
|
// ex: /home/foouser/acme/etc
|
||||||
|
|
|
@ -22,7 +22,7 @@ var greenlock = Greenlock.create({
|
||||||
|
|
||||||
// You MUST change these to valid domains
|
// You MUST change these to valid domains
|
||||||
// NOTE: all domains will validated and listed on the certificate
|
// NOTE: all domains will validated and listed on the certificate
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
|
|
||||||
// You MUST have access to write to directory where certs are saved
|
// You MUST have access to write to directory where certs are saved
|
||||||
// ex: /home/foouser/acme/etc
|
// ex: /home/foouser/acme/etc
|
||||||
|
|
|
@ -19,7 +19,7 @@ var greenlock = Greenlock.create({
|
||||||
|
|
||||||
// You MUST change these to a valid email and domains
|
// You MUST change these to a valid email and domains
|
||||||
, email: 'john.doe@example.com'
|
, email: 'john.doe@example.com'
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
, agreeTos: true
|
, agreeTos: true
|
||||||
|
|
||||||
// Get notified of important updates and help me make greenlock better
|
// Get notified of important updates and help me make greenlock better
|
||||||
|
|
|
@ -4,7 +4,7 @@ var greenlock = Greenlock.create({
|
||||||
version: 'draft-11'
|
version: 'draft-11'
|
||||||
, server: 'https://acme-staging-v02.api.letsencrypt.org/directory'
|
, server: 'https://acme-staging-v02.api.letsencrypt.org/directory'
|
||||||
, agreeTos: true
|
, agreeTos: true
|
||||||
, approveDomains: [ 'example.com', 'www.example.com' ]
|
, approvedDomains: [ 'example.com', 'www.example.com' ]
|
||||||
, configDir: require('path').join(require('os').tmpdir(), 'acme')
|
, configDir: require('path').join(require('os').tmpdir(), 'acme')
|
||||||
|
|
||||||
, app: require('express')().use('/', function (req, res) {
|
, app: require('express')().use('/', function (req, res) {
|
||||||
|
|
Loading…
Reference in New Issue