mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Allow a bit better granularity for the difficulty. Recommend an "easier" challenge in terms of memory and iterations, but higher diff.
Make failed request for captcha/bot form show a little error text. Make CHALLENGE_INCLUDES_IP "1" = on, anything else = off instead of needing to be unset.
This commit is contained in:
@@ -35,9 +35,9 @@ services:
|
||||
- BACKEND_NAME=servers
|
||||
- SERVER_PREFIX=websrv
|
||||
- CHALLENGE_INCLUDES_IP=1
|
||||
- POW_TIME=1
|
||||
- POW_KB=6000
|
||||
- POW_DIFFICULTY=3
|
||||
- POW_TIME=2
|
||||
- POW_KB=512
|
||||
- POW_DIFFICULTY=25
|
||||
|
||||
nginx:
|
||||
ports:
|
||||
|
Reference in New Issue
Block a user