mirror of
https://github.com/therootcompany/greenlock-express.js.git
synced 2025-02-23 21:28:05 +00:00
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
|
||||
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());
|
||||
});
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user