Update README.md

This commit is contained in:
AJ ONeal 2016-08-17 09:09:43 -06:00 committed by GitHub
parent d8f41a51c4
commit c14077c099
1 changed files with 2 additions and 1 deletions

View File

@ -133,9 +133,10 @@ var lex = require('letsencrypt-express').create({
cb(null, { options: opts, certs: certs });
}
});
```
```javascript
// handles acme-challenge and redirects to https
require('http').createServer(lex.middleware()).listen(80, function () {
console.log("Listening for ACME http-01 challenges on", this.address());