镜像自地址
https://github.com/therootcompany/greenlock.js.git
已同步 2024-11-16 17:29:00 +00:00
比较提交
2 次代码提交
2cfba7a2e7
...
540ac6c310
| 作者 | SHA1 | 提交日期 | |
|---|---|---|---|
| 540ac6c310 | |||
| 8c32887b10 |
2
index.js
2
index.js
@ -517,7 +517,7 @@ Greenlock.create = function (gl) {
|
||||
req.headers.host = host.join(':');
|
||||
}
|
||||
|
||||
if (gl.__sni_allow_fronting) {
|
||||
if (!gl.__sni_allow_domain_fronting) {
|
||||
if (req.socket && 'string' === typeof req.socket.servername) {
|
||||
if (safehost && (safehost !== req.socket.servername.toLowerCase())) {
|
||||
res.statusCode = 400;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "greenlock",
|
||||
"version": "2.4.1",
|
||||
"version": "2.4.2",
|
||||
"description": "Let's Encrypt for node.js on npm",
|
||||
"main": "index.js",
|
||||
"files": [
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户