mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2025-10-31 20:12:47 +00:00 
			
		
		
		
	update README.md
This commit is contained in:
		
							parent
							
								
									da5b69d74b
								
							
						
					
					
						commit
						42351396f0
					
				| @ -63,7 +63,8 @@ as only one process is writing the to file system or database at a time. | ||||
| The main implementation detail here is `approveDomains(options, certs, cb)` for new domain certificates | ||||
| and potentially `agreeToTerms(opts, cb)` for new accounts. | ||||
| 
 | ||||
| The master takes **the same arguments** as `node-letsencrypt`, plus a few extra: | ||||
| The master takes **the same arguments** as `node-letsencrypt` (`challenge`, `store`, etc), | ||||
| plus a few extra (`approveDomains`... okay, just one extra): | ||||
| 
 | ||||
| `master.js`: | ||||
| ```javascript | ||||
|  | ||||
							
								
								
									
										12
									
								
								examples/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								examples/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| letsencrypt cluster examples | ||||
| ------------------- | ||||
| 
 | ||||
| First you need to change the email address in `examples/worker.js`. | ||||
| 
 | ||||
| Then you can run the example like so: | ||||
| 
 | ||||
| ``` | ||||
| node examples/serve.js | ||||
| ``` | ||||
| 
 | ||||
| That will put certificates in `~/letsencrypt.test` by default. | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user