feat: update readme

This commit is contained in:
Simon Cornet 2026-04-17 13:36:23 +02:00
commit 3b0e74fba4

View file

@ -34,7 +34,7 @@ Install and configure HAProxy load balancer with flexible frontends, backends, a
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `haproxy_stats.enabled` | No | `false` | Enable stats interface |
| `haproxy_stats.bind` | No | `10.120.32.10:9000` | Bind address for stats |
| `haproxy_stats.bind` | No | `192.168.32.10:9000` | Bind address for stats |
| `haproxy_stats.mode` | No | `http` | Stats mode |
| `haproxy_stats.uri` | No | `/` | Stats URI path |
| `haproxy_stats.show_node` | No | `true` | Show node name |
@ -88,51 +88,51 @@ Install and configure HAProxy load balancer with flexible frontends, backends, a
# enable stats interface
haproxy_stats:
enabled: true
bind: "10.120.32.10:9000"
bind: "192.168.32.10:9000"
mode: "http"
uri: "/"
show_node: true
refresh: "10s"
auth: "admitcreation:gZ4hWWeMWy7Bd8"
auth: "admin:password"
# frontends
haproxy_frontends:
# http frontend
- name: "http-in"
bind: "10.120.32.15:80"
default_backend: "waf_itcreation_tools_http"
bind: "192.168.32.15:80"
default_backend: "waf_siempie_tools_http"
# https frontend
- name: "https-in"
bind: "10.120.32.15:443"
default_backend: "waf_itcreation_tools_https"
bind: "192.168.32.15:443"
default_backend: "waf_siempie_tools_https"
# backends
haproxy_backends:
# http backend with simple load balancing
- name: "waf_itcreation_tools_http"
- name: "waf_siempie_tools_http"
balance: "source"
hash_type: "consistent"
options:
- "option httpchk GET /health"
servers:
# waf0.itcreation.tools
- name: "waf0.itcreation.tools"
address: "10.120.32.20:80"
# waf0.siempie.tools
- name: "waf0.siempie.tools"
address: "192.168.32.20:80"
check: true
send_proxy: true
# waf1.itcreation.tools
- name: "waf1.itcreation.tools"
address: "10.120.32.21:80"
# waf1.siempie.tools
- name: "waf1.siempie.tools"
address: "192.168.32.21:80"
check: true
send_proxy: true
# https backend with SSL session persistence
- name: "waf_itcreation_tools_https"
- name: "waf_siempie_tools_https"
balance: "roundrobin"
stick_table: "type binary len 2048 size 300k expire 30m"
acls:
@ -150,16 +150,16 @@ Install and configure HAProxy load balancer with flexible frontends, backends, a
- "option httpchk GET /health"
servers:
# waf0.itcreation.tools
- name: "waf0.itcreation.tools"
address: "10.120.32.20:443"
# waf0.siempie.tools
- name: "waf0.siempie.tools"
address: "192.168.32.20:443"
send_proxy: true
check: true
extra_params: "check-ssl verify none"
# waf0.itcreation.tools
- name: "waf1.itcreation.tools"
address: "10.120.32.21:443"
# waf0.siempie.tools
- name: "waf1.siempie.tools"
address: "192.168.32.21:443"
send_proxy: true
check: true
extra_params: "check-ssl verify none"