HAProxy Load Balancer on an Anubiz Offshore VPS
HAProxy is the load balancer of choice for high-RPS deployments. On an Anubiz VPS it terminates TLS, routes by host or path, and rate limits per IP. This guide is the modern HAProxy 3.x setup: TLS with auto-reload on cert renewal, ACL routing to multiple backends, abuse rate limit, stats page behind a Tor onion or basic auth.
Need this done for your project?
We implement, you ship. Async, documented, done in days.
Step 1: Install
apt install haproxy. Confirm 3.x.
Step 2: TLS Termination
Frontend bind :443 ssl crt /etc/haproxy/certs.d. Each .pem file in certs.d is auto-loaded. Use certbot or caddy as cert source then symlink.
Step 3: ACL Routing
acl is_api hdr(host) -i api.example.com, use_backend api if is_api. Default backend www.
Step 4: Rate Limit
stick-table type ip size 1m expire 10m store http_req_rate(10s). http-request deny if { sc_http_req_rate(0) gt 100 }.
Step 5: Stats
frontend stats bind :8404 stats enable stats uri /stats stats auth admin:<pw>. Restrict by source IP in addition to auth.
Related Services
Why Anubiz Host
Ready to get started?
Skip the research. Tell us what you need, and we'll scope it, implement it, and hand it back — fully documented and production-ready.