update README.md
This commit is contained in:
		
							parent
							
								
									c3a22f19b9
								
							
						
					
					
						commit
						0ca2910602
					
				@ -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