mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									d8f41a51c4
								
							
						
					
					
						commit
						c14077c099
					
				| @ -133,9 +133,10 @@ var lex = require('letsencrypt-express').create({ | |||||||
|     cb(null, { options: opts, certs: certs }); |     cb(null, { options: opts, certs: certs }); | ||||||
|   } |   } | ||||||
| }); | }); | ||||||
|  | ``` | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | ```javascript | ||||||
| // handles acme-challenge and redirects to https | // handles acme-challenge and redirects to https | ||||||
| require('http').createServer(lex.middleware()).listen(80, function () { | require('http').createServer(lex.middleware()).listen(80, function () { | ||||||
|   console.log("Listening for ACME http-01 challenges on", this.address()); |   console.log("Listening for ACME http-01 challenges on", this.address()); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user