Pular para o conteúdo principal
Config

HAProxy Config Generator

Generate an HAProxy frontend and backend config.

global
  maxconn 2048
  log stdout format raw local0

defaults
  log     global
  mode    http
  option  httplog
  option  forwardfor
  timeout connect 5s
  timeout client  30s
  timeout server  30s

frontend http_front
  bind *:80
  bind *:443 ssl crt /etc/ssl/app.example.com.pem
  http-request redirect scheme https unless { ssl_fc }
  default_backend app_back

backend app_back
  server app1 127.0.0.1:3000 check

Generated in your browser. Free, nothing is uploaded.

About this tool

Free haproxy config generator tool. Generate an HAProxy frontend and backend config. No signup, nothing uploaded.

Frequently asked questions

Is the output safe to use?

It is a conservative starting point — always review it before applying.

Do you need access to my server?

No. Paste the config yourself after reviewing.

Can I customise it?

Set domains, ports and paths in the fields, then edit the output.

Need more than a tool?

HostingSwift runs the servers too — VPS, web hosting, email, DNS and streaming, with a free tier to start.