mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
Add env var example for maxconn and cache total-max-size
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
global
|
||||
daemon
|
||||
maxconn 256
|
||||
maxconn "${HAPROXY_MAXCONN}"
|
||||
log stdout format raw local0 debug
|
||||
lua-load /etc/haproxy/scripts/register-servers.lua
|
||||
lua-load-per-thread /etc/haproxy/scripts/register-bot-check.lua
|
||||
@ -158,7 +158,7 @@ frontend http-in
|
||||
default_backend servers
|
||||
|
||||
cache basic_cache
|
||||
total-max-size 250
|
||||
total-max-size "${HAPROXY_CACHE_MB}"
|
||||
max-object-size 31457280
|
||||
max-age 86400
|
||||
process-vary on
|
||||
|
Reference in New Issue
Block a user