Frontend & Backend Directives
Backend Servers Pool (2)
haproxy.cfg Output
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
maxconn 4096
defaults
log global
mode http
option dontlognull
option httplog
option forwardfor
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
listen stats
bind *:8404
mode http
stats enable
stats uri /stats
stats refresh 10s
stats auth admin:ChangeMe123!
stats admin if TRUE
frontend http_front
bind *:80
default_backend app_back
backend app_back
balance roundrobin
option httpchk GET /health
server web_srv1 10.0.1.10:8080 check maxconn 250
server web_srv2 10.0.1.11:8080 check maxconn 250Pin this tool to your browser side panel
Access this utility anytime with Alt+M without switching tabs. 100% offline & free.
How to build HAProxy configs
- 1Select Layer 7 HTTP or Layer 4 TCP proxying.
- 2Add backend server IPs, ports, and check intervals.
- 3Copy or download haproxy.cfg into /etc/haproxy/.
Production Load Balancing
Generates battle-tested HAProxy configurations with zero server dependencies.
Frequently Asked Questions
Enjoying HAProxy Config Builder?Help your engineering peers discover private, ad-free tools!
MiniToolDesk is 100% free and client-side. Your support keeps the web ad-free.
Related Developer Utilities
Popular
Docker Run to Compose Converter
Convert complex docker run CLI commands into clean, production-ready docker-compose.yml files
Launch toolβ
Popular
Nginx Config Generator
Visual builder for production-ready Nginx reverse proxy, SSL, and SPA configs
Launch toolβ
Popular
Dockerfile Multi-Stage Generator
Visual builder for security-hardened, multi-stage Dockerfiles across modern stacks
Launch toolβ
Popular
Kubernetes YAML Manifest Builder
Visual generator for Deployment, Service, Ingress, and ConfigMap manifests
Launch toolβ