From a7d712f65d29e193888e8fb32f89ebf31591db07 Mon Sep 17 00:00:00 2001 From: Brian Munro Date: Thu, 24 Feb 2022 17:09:03 +0200 Subject: [PATCH] Fix nginx error to reflect option default. --- lib/plugins/crowdsec/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/crowdsec/config.lua b/lib/plugins/crowdsec/config.lua index f253b4b..5c3ade5 100644 --- a/lib/plugins/crowdsec/config.lua +++ b/lib/plugins/crowdsec/config.lua @@ -62,7 +62,7 @@ function config.loadConfig(file) if v == "ENABLED" then local value = s[2] if not has_value(valid_truefalse_values, s[2]) then - ngx.log(ngx.ERR, "unsupported value '" .. s[2] .. "' for variable '" .. v .. "'. Using default value 'ban' instead") + ngx.log(ngx.ERR, "unsupported value '" .. s[2] .. "' for variable '" .. v .. "'. Using default value 'true' instead") break end end