haproxy

Configure HAProxy for load balancing, SSL termination, and health checks.

3|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/HouseGarofalo/claude-code-base --skill haproxy-housegarofalo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: haproxy
Source: https://github.com/HouseGarofalo/claude-code-base/tree/main/.claude/skills/haproxy
Command: npx skills add https://github.com/HouseGarofalo/claude-code-base --skill haproxy-housegarofalo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of configuring and managing HAProxy, a high-performance load balancer and reverse proxy, ensuring efficient traffic distribution and application availability.

Core Features & Use Cases

  • Load Balancing: Distribute incoming network traffic across multiple backend servers.
  • SSL Termination: Handle SSL/TLS encryption and decryption, offloading this task from backend servers.
  • Health Checks: Monitor the health of backend servers and automatically remove unhealthy ones from rotation.
  • ACLs: Define Access Control Lists to route traffic based on various criteria like URL paths, hostnames, or headers.
  • Use Case: Deploying HAProxy to manage traffic for a web application with multiple backend servers, ensuring high availability and optimal performance.

Quick Start

Use the haproxy skill to set up a basic HTTP load balancer with two backend web servers.

Frequently Asked Questions about haproxy

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

FAQPage Schema
How do I configure a load balancer for high-traffic web applications?

To configure a load balancer for high-traffic web applications, use HAProxy to distribute incoming network traffic efficiently across multiple backend servers. It supports TCP/HTTP load balancing, health checks, and high availability setups.

What is SSL termination and how does it improve reverse proxy performance?

SSL termination handles SSL/TLS encryption and decryption at the reverse proxy layer. HAProxy performs SSL termination to offload this heavy task from backend servers, optimizing overall traffic management.

How do I set up health checks to remove unhealthy backend servers automatically?

Set up health checks in HAProxy to continuously monitor the status of backend servers. This configuration automatically removes unhealthy servers from traffic rotation, ensuring high availability for your application.

Can I route HTTP traffic based on URL paths or hostnames using ACLs?

Yes, you can route HTTP traffic based on specific criteria like URL paths, hostnames, or headers by defining Access Control Lists (ACLs). HAProxy uses ACLs to direct traffic appropriately within reverse proxy configurations.

Does HAProxy work for managing traffic in microservice architectures?

Yes, HAProxy is essential for managing traffic in microservice architectures. It provides high-performance TCP and HTTP load balancing alongside reverse proxy capabilities, ensuring efficient traffic distribution across microservices.

Why use a reverse proxy for TCP and HTTP load balancing instead of direct connections?

Using a reverse proxy like HAProxy for TCP and HTTP load balancing optimizes traffic distribution and ensures application availability. Direct connections lack centralized health checks, SSL termination, and high availability setups needed for scale.