haproxy

Configure and manage HAProxy for load balancing and TLS termination.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/ivanuser/cortex-server-skills --skill haproxy-ivanuser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haproxy
Source: https://github.com/ivanuser/cortex-server-skills/tree/main/server/haproxy
Command: npx skills add https://github.com/ivanuser/cortex-server-skills --skill haproxy-ivanuser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HAProxy provides reliable TCP/HTTP load balancing, SSL termination, health checks, and traffic management to ensure high availability and scalable front-end services.

Core Features & Use Cases

  • Handles frontend and backend definitions with ACLs, health checks, and routing rules for complex deployments.
  • Supports HTTP and TCP modes, SSL termination, rate limiting, and a dedicated stats page for real-time insight.
  • Use cases include distributing traffic across multiple app servers, maintaining health of backends, and enforcing security and performance policies.

Quick Start

Configure a basic HAProxy deployment with a frontend listening on port 80 and a pool of backend servers, then validate the configuration and start the service.

Frequently Asked Questions about haproxy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure load balancing and TLS termination for production HTTP services?

Configure load balancing and TLS termination by defining frontends and backends with ACLs, health checks, and routing rules. This setup supports HTTP and TCP modes, rate limiting, and a dedicated stats page for real-time insight into traffic distribution and backend health.

How does health checking work when distributing traffic across multiple app servers?

Health checking monitors backend app servers to ensure traffic is only distributed to healthy nodes. This maintains high availability by automatically removing unhealthy servers from the pool and restoring them once they pass health checks.

Can I use ACLs and rate limiting to enforce security policies in a scalable front-end service?

Yes, you can use ACLs and rate limiting to enforce security and performance policies in a scalable front-end service. ACLs control routing rules while rate limiting protects backends from excessive traffic spikes.

What is the best way to validate HAProxy configurations and perform safe reloads in production environments?

Validate configurations and perform safe reloads using built-in production-grade requirements. This ensures syntax validation before applying changes and enables runtime management to maintain reliable traffic distribution without dropping active connections.

Why do I need SSL termination and traffic management for high-availability load balancing?

SSL termination and traffic management are needed to offload decryption from backend servers and ensure scalable front-end services. This approach provides reliable TCP/HTTP load balancing and enforces security policies for high availability.

Does this approach support both TCP and HTTP modes for complex deployments?

Yes, this approach supports both TCP and HTTP modes for complex deployments. It handles frontend and backend definitions with routing rules, enabling flexible traffic management across various network protocols and service architectures.