require acme challenge middleware from https
This commit is contained in:
parent
0b2637b8e7
commit
2d688f8551
|
@ -320,7 +320,7 @@ app.use('/', function (req, res) {
|
||||||
});
|
});
|
||||||
|
|
||||||
// handles your app
|
// handles your app
|
||||||
require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, function () {
|
require('https').createServer(lex.httpsOptions, app).listen(443, function () {
|
||||||
console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
|
console.log("Listening for ACME tls-sni-01 challenges and serve app on", this.address());
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue