From 8c32887b10d361849d3bfbd7d08dcd81e7453006 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 24 Aug 2018 23:38:00 -0600 Subject: [PATCH] v2.4.2 proactive domain fronting protection --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7efd19e..b6487a2 100644 --- a/index.js +++ b/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;