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 });
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
|
||||
```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());
|
||||
|
|
Loading…
Reference in New Issue