feat: add teleport like configs

This commit is contained in:
Simon Cornet 2026-04-17 13:49:26 +02:00
commit 1fa9c044d0
4 changed files with 158 additions and 113 deletions

View file

@ -2,7 +2,8 @@
# global settings
haproxy_global:
log: "/dev/log local2"
log:
- "/dev/log local2"
chroot: "/var/lib/haproxy"
pidfile: "/var/run/haproxy.pid"
maxconn: 35000
@ -15,11 +16,13 @@ haproxy_global:
haproxy_defaults:
log: "global"
mode: "tcp"
option: "tcplog"
options:
- "tcplog"
timeout_check: "5s"
timeout_connect: "10s"
timeout_client: "600s"
timeout_server: "600s"
timeout_tunnel: "" # optional
# stats listener (optional)
haproxy_stats: