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