Fix nginx error to reflect option default.
This commit is contained in:
parent
39e00286e3
commit
a7d712f65d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue