feat: add teleport like configs
This commit is contained in:
parent
3b0e74fba4
commit
1fa9c044d0
4 changed files with 158 additions and 113 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue