feat: initial commit
This commit is contained in:
parent
e19f269ec5
commit
214e91a391
16 changed files with 546 additions and 93 deletions
38
defaults/main.yaml
Normal file
38
defaults/main.yaml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
|
||||
# global settings
|
||||
haproxy_global:
|
||||
log: "/dev/log local2"
|
||||
chroot: "/var/lib/haproxy"
|
||||
pidfile: "/var/run/haproxy.pid"
|
||||
maxconn: 35000
|
||||
user: "haproxy"
|
||||
group: "haproxy"
|
||||
daemon: true
|
||||
stats_socket: "/var/lib/haproxy/stats user haproxy group haproxy mode 660 level admin"
|
||||
|
||||
# default settings
|
||||
haproxy_defaults:
|
||||
log: "global"
|
||||
mode: "tcp"
|
||||
option: "tcplog"
|
||||
timeout_check: "5s"
|
||||
timeout_connect: "10s"
|
||||
timeout_client: "600s"
|
||||
timeout_server: "600s"
|
||||
|
||||
# stats listener (optional)
|
||||
haproxy_stats:
|
||||
enabled: false
|
||||
bind: "0.0.0.0:9000"
|
||||
mode: "http"
|
||||
uri: "/"
|
||||
show_node: true
|
||||
refresh: "10s"
|
||||
auth: "admin:password"
|
||||
|
||||
# frontends
|
||||
haproxy_frontends: []
|
||||
|
||||
# backends
|
||||
haproxy_backends: []
|
||||
Loading…
Add table
Add a link
Reference in a new issue