fix suggestions
This commit is contained in:
parent
a1540984a0
commit
e06594b580
3 changed files with 3 additions and 4 deletions
|
@ -4,7 +4,7 @@ CACHE_EXPIRATION=1
|
|||
# bounce for all type of remediation that the bouncer can receive from the local API
|
||||
BOUNCING_ON_TYPE=all
|
||||
FALLBACK_REMEDIATION=ban
|
||||
REQUEST_TIMEOUT=1000
|
||||
REQUEST_TIMEOUT=3000
|
||||
UPDATE_FREQUENCY=10
|
||||
MODE=stream
|
||||
# exclude the bouncing on those location
|
||||
|
|
|
@ -191,7 +191,7 @@ function stream_query()
|
|||
error("Failed to create the timer: " .. (err or "unknown"))
|
||||
end
|
||||
end
|
||||
error("Http error " .. status .. " with message (" .. tostring(body) .. ")")
|
||||
error("HTTP error while request to Local API '" .. status .. "' with message (" .. tostring(body) .. ")")
|
||||
end
|
||||
|
||||
local decisions = cjson.decode(body)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>CrowdSec ReCaptcha</title>
|
||||
<title>CrowdSec Ban</title>
|
||||
<meta content="text/html; charset=utf-8" />
|
||||
<style>
|
||||
* {
|
||||
|
@ -76,7 +76,6 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
Loading…
Reference in a new issue