Files
proxmox-ha-setup/vm2/haproxy.cfg
2025-11-02 11:14:40 +01:00

34 lines
570 B
INI

global
log stdout format raw local0
maxconn 4096
defaults
log global
mode tcp
timeout connect 5000ms
timeout client 300000ms
timeout server 300000ms
listen stats
bind *:8404
mode http
stats enable
stats uri /
stats refresh 5s
frontend mysql_frontend
bind *:3306
default_backend mysql_backend
backend mysql_backend
mode tcp
server mysql1 192.168.1.201:3306 check
frontend ftp_control
bind *:21
default_backend ftp_servers
backend ftp_servers
mode tcp
server ftp2 ftp-server-2:21 check