mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	note removal of static values
This commit is contained in:
		
							parent
							
								
									eaf0748871
								
							
						
					
					
						commit
						769fe3008c
					
				| @ -24,13 +24,18 @@ require('../').create({ | |||||||
|   // You MUST change 'acme-staging-v02' to 'acme-v02' in production
 |   // You MUST change 'acme-staging-v02' to 'acme-v02' in production
 | ||||||
| , server: 'https://acme-staging-v02.api.letsencrypt.org/directory'  // staging
 | , server: 'https://acme-staging-v02.api.letsencrypt.org/directory'  // staging
 | ||||||
| 
 | 
 | ||||||
|  | // The previous 'simple' example set these values statically,
 | ||||||
|  | // but this example uses approveDomains() to set them dynamically 
 | ||||||
|  | //, email: 'none@see.note.above'
 | ||||||
|  | //, agreeTos: false
 | ||||||
|  | 
 | ||||||
|   // approveDomains is the right place to check a database for
 |   // approveDomains is the right place to check a database for
 | ||||||
|   // email addresses with domains and agreements and such
 |   // email addresses with domains and agreements and such
 | ||||||
| , approveDomains: approveDomains  | , approveDomains: approveDomains  | ||||||
| 
 | 
 | ||||||
|   // 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: /etc/greenlock/
 | ||||||
| , configDir: require('path').join(require('os').homedir(), 'acme', 'etc') | , configDir: '/tmp/etc/greenlock' | ||||||
| 
 | 
 | ||||||
| , app: app | , app: app | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user