Add env var example for maxconn and cache total-max-size

This commit is contained in:
Thomas Lynch
2023-10-19 21:34:02 +11:00
parent 1dd69fd924
commit 3f1852dd1b
2 changed files with 4 additions and 2 deletions

View File

@ -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