HAProxy Frontend/Backend Generator
Create matching frontend/backend in HAProxy with bind, mode http, balance roundrobin and servers. Minimal working config.
—
HAProxy frontend and backend, the minimum pair
HAProxy configuration falls into two halves that must exist together: the frontend, which receives connections and listens on a port, and the backend, which lists the real servers and says how to spread load between them. Neither does anything alone — and the link between them is the backend name quoted in the frontend, which is where the configuration usually breaks on a typo.
Fill in the bind address, the servers and the balancing algorithm, and the page assembles both sections wired together. The available algorithms cover the usual cases: plain round robin, the one sending traffic to whichever server has fewest active connections, and the one choosing by source address, keeping the same client on the same server.
It is worth knowing what the minimum pair leaves out. Without health checking configured on the servers, HAProxy keeps sending traffic to a dead backend — the check directive is what makes it pull the server out of rotation on its own. And to serve HTTPS you need the certificate on the bind line, plus handling the HTTP to HTTPS redirect in the frontend itself.
Frequently asked questions
Which balancing algorithm should I pick?
How do I set up health checks?
What changes between HTTP and TCP mode?
Related Tools
CSS Clamp Calculator
Generate CSS clamp() values for fluid typography and spacing. Enter minimum/maximum sizes and viewport widths to get a ready-to-paste clamp() function.
HTTP Status Codes
Look up all HTTP status codes with names and descriptions. Search by code or keyword. Quick reference for developers.
Programming Case Converter (camelCase, snake_case)
Convert text between camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, dot.case, Title Case and more with one click. Perfect for renaming variables and API fields.
AWS SigV4 Canonical Request Preview
Build the Signature Version 4 canonical request from method, URI, query string, host and x-amz-date to debug 403 SignatureDoesNotMatch errors.
GitHub Actions Generator
Generate YAML workflows for GitHub Actions: Node CI, static deploy, semver release, lint+test. Customize triggers and steps. Everything in your browser.
OIDC Discovery URL Builder
Paste an OpenID Connect issuer URL to get the discovery endpoint, with trailing slashes trimmed and /.well-known/openid-configuration appended for you.