镜像自地址
https://github.com/therootcompany/greenlock-express.js.git
已同步 2024-11-16 17:28:59 +00:00
update example
这个提交包含在:
父节点
287d0b6606
当前提交
c65539bf6c
@ -152,7 +152,7 @@ function approveDomains(opts, certs, cb) {
|
|||||||
|
|
||||||
```javascript
|
```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(require('redirect-https')())).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());
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
正在加载...
x
在新工单中引用
屏蔽一个用户