Knowledge Base

Willkommen zur HAProxys ausführlicher und ständig wachsender Knowledge Base. Unser Content wird von einen Expertenteam, das auch aus Mitgliedier des HAProxy Core Development Teams besteht, geschrieben und erstellt. Die Knowledge Base beinhaltet eine große Auswahl verschiedener Topics, die Ihnen dabei helfen die maximale Leistungsfähigkeit von HAProxy zu erreichen.

Rate Limiting with the HAProxy Kubernetes Ingress Controller

Add IP-by-IP rate limiting to the HAProxy Kubernetes Ingress Controller.   DDoS (distributed denial of service) events occur when an attacker or group of attackers flood your application or API with disruptive traffic, hoping to exhaust its resources and prevent...

August/2021 – HAProxy 2.0+ HTTP/2 Vulnerabilities Fixed

A vulnerability was found that makes it possible to abuse the HTTP/2 parser, allowing an attacker to prepend hostnames to a request, append top-level domains to an existing domain, and inject invalid characters through the :method pseudo-header.

[On-Demand Webinar] Multilayered Security with HAProxy Enterprise

Did you know that an HAProxy Enterprise load balancer can protect your applications from common threats? In this webinar, we'll give you an overview of the multilayered security solution provided by HAProxy Enterprise.  We will cover how to:  use the HAProxy...

Load Balancing/Routing

How to Enable Health Checks in HAProxy

HAProxy provides active, passive, and agent health checks.   HAProxy makes your web applications highly available by spreading requests across a pool of backend servers. If one or even several servers fail, clients can still use your app as long as there are...

Rate Limiting with the HAProxy Kubernetes Ingress Controller

Add IP-by-IP rate limiting to the HAProxy Kubernetes Ingress Controller.   DDoS (distributed denial of service) events occur when an attacker or group of attackers flood your application or API with disruptive traffic, hoping to exhaust its resources and prevent...

Testing Your HAProxy Configuration

Learn how to test your HAProxy Configuration. Properly testing your HAProxy configuration file is a simple, yet crucial part of administering your load balancer. Remembering to run one simple command after making a change to your configuration file can save you from...

The HAProxy APIs

The HAProxy load balancer provides a set of APIs for configuring it programmatically.   Although many people enjoy the simplicity of configuring their HAProxy load balancer by directly editing its configuration file, /etc/haproxy/haproxy.cfg, others want a way to...

SSL

Announcing HAProxy Data Plane API 2.2

The HAProxy Data Plane API 2.2 lays the foundation for first-class service discovery and introduces native support for Consul. It also adds storage and file handling for SSL certificates, Map files, and SPOE configuration files. Watch our on-demand webinar "What’s New...

Route SSH Connections with HAProxy

Route SSH connections through HAProxy using the SSH ProxyCommand feature and SNI. Watch our on-demand webinar in French "How to Route SSH Connections with HAProxy". Did you know that you can proxy SSH connections through HAProxy and route based on hostname? The...

Redirect HTTP to HTTPS with HAProxy

Use the HAProxy load balancer to redirect users from HTTP to HTTPS automatically. For decades, our lives have become increasingly dependent on sending and receiving data from across the Internet. Now, with more people working, studying, and hanging with friends...

Microservices

Consul Service Discovery for HAProxy

HAProxy with the HAProxy Data Plane API can integrate with Consul to enable service discovery for your load balancer configuration.   Many Ops team professionals rank HAProxy as their favorite load balancer because it adds high availability, security and...

Power Your Consul Service Mesh with HAProxy

Many of you use HashiCorp Consul for service discovery. It makes connecting one backend application or service to another easy: Your Consul servers store a catalog of addresses to all of your services; when an application within the network wants to discover where a...

Circuit Breaking in HAProxy

  With HAProxy, you can implement a circuit breaker to protect services from widespread failure. Martin Fowler, who is famous for being one of the Gang of Four authors who wrote Design Patterns: Elements of Reusable Object-Oriented Software, hosts a website where...

Accelerate Your APIs by Using the HAProxy Cache

HAProxy's cache helps boost API performance by serving saved messages to your users. The age of rendering most of a web page's contents on the server and then delivering it as a colossal HTML file is fading into the past. Modern web frameworks like Angular, React, and...

Leistung

Autoscaling with the HAProxy Kubernetes Ingress Controller and KEDA

  This blog post describes how to implement autoscaling of your application pods using KEDA and the HAProxy Kubernetes Ingress Controller. Since it was published, a new feature has been added to the ingress controller that lets you autoscale the number of ingress...

Protect Servers with HAProxy Connection Limits and Queues

HAProxy connection limits and queues can help protect your servers and boost throughput when load balancing heavy amounts of traffic.   When you use HAProxy as an API gateway in front of your services, it has the ability to protect those servers from traffic...

Announcing HAProxy Kubernetes Ingress Controller 1.5 

We've released version 1.5 of the HAProxy Kubernetes Ingress Controller. This version unlocks access to the raw HAProxy configuration language for power users to gain more control. You can also enable mutual TLS authentication between the ingress controller and...

HTTP Keep-Alive, Pipelining, Multiplexing and Connection Pooling

Persistent connections allow HAProxy to optimize resource usage, lower latency on both the client and server side, and support connection pooling.   HTTP is a layer 7 protocol that's transmitted over a TCP connection. It works in a client-server model and follows...

Webinare

[On-Demand Webinar] What’s New in the HAProxy Data Plane API 2.3

The HAProxy Data Plane API enables remote, dynamic configuration of your HAProxy load balancers. Version 2.3 of the API adds: service discovery for AWS EC2 instances and Auto Scaling groups, the ability to view, add, and remove HAProxy ACLs, support for forwarding API...

[On-Demand Webinar] Multilayered Security with HAProxy Enterprise

Did you know that an HAProxy Enterprise load balancer can protect your applications from common threats? In this webinar, we'll give you an overview of the multilayered security solution provided by HAProxy Enterprise.  We will cover how to:  use the HAProxy...

Grundlagen

How to Enable Health Checks in HAProxy

HAProxy provides active, passive, and agent health checks.   HAProxy makes your web applications highly available by spreading requests across a pool of backend servers. If one or even several servers fail, clients can still use your app as long as there are...

Testing Your HAProxy Configuration

Learn how to test your HAProxy Configuration. Properly testing your HAProxy configuration file is a simple, yet crucial part of administering your load balancer. Remembering to run one simple command after making a change to your configuration file can save you from...

Install HAProxy on Ubuntu

Learn how to Install HAProxy on Ubuntu 20.04.   Ubuntu 20.04 is a great choice for installing your HAProxy software load balancer. It's a free Linux operating system that's fast, secure, and best of all, it's easy to use. One of the features that makes Ubuntu so...

How to Run HAProxy with Docker

  Can you run HAProxy as a Docker container? Yes! Did you even need to ask? Docker is ubiquitous these days and you'll find that many applications have been Docker-ized; the HAProxy load balancer is no exception. Pardon the cliché, but HAProxy was born for this....

Benchmarking

Test Driving „Power of Two Random Choices“ Load Balancing

The Power of Two Random Choices load-balancing algorithm has piqued some curiosity. In this blog post, we see how it stacks up against other modern-day algorithms available in HAProxy. Recently, I was asked twice about my opinion on supporting an algorithm known as...

Benchmarking SSL Performance

Introduction The story Recently, there has been some attacks against website which aimed to steal user identity. In order to protect their users, major website owners had to find a solution. Unfortunately, we know that sometimes, improving security means downgrading...

Random Tipps

Serve Dynamic Custom Error Pages with HAProxy

Set up custom error pages in HAProxy to ensure consistent, branded messaging that supports any backend web stack. The memory is probably still fresh: You're shopping online at your favorite website, looking for something specific, you've got it narrowed down to two or...

HAProxy and HTTP Errors 408 in Chrome

Lately, there was some discussions on HAProxy's mailing list about 408 errors printed in Chrome browsers. Origin of 408 errors 408 is the status code used by web servers or proxies when the client has not sent a whole HTTP request during a certain period of time. It...

Configure syslog-ng to Log Readable HTTP URL from HAProxy

These tips are provided by Exosec. Exosec provides a very good monitoring product called POM, based on Nagios with very strong value added such as very simple administration, application monitoring, etc... For some of their project, they use either HAProxy or the...

Observability

Visualize HAProxy Metrics with InfluxDB

  HAProxy generates over a hundred metrics to give you a nearly real-time view of the state of your load balancers and the services they proxy, but to get the most from this data, you need a way to visualize it. InfluxData’s InfluxDB suite of applications takes...

Logging with the HAProxy Kubernetes Ingress Controller

The HAProxy Kubernetes Ingress Controller publishes two sets of logs: the ingress controller logs and the HAProxy access logs.   After you install the HAProxy Kubernetes Ingress Controller, logging jumps to mind as one of the first features to configure. Logs...

Using HAProxy as an API Gateway, Part 4 [Metrics]

HAProxy publishes more than 100 metrics about the traffic flowing through it. When you use HAProxy as an API gateway, these give you insight into how clients are accessing your APIs. Several metrics come to mind as particularly useful, since they can help you...

HAProxy Log Sampling

Log Sampling is a powerful feature introduced in HAProxy 2.0 that lets you define a percentage of your logs to create a representative view of your data allowing you to minimize your costs. Log files are the key to observability. They can provide helpful information...

DevOps

The HAProxy APIs

The HAProxy load balancer provides a set of APIs for configuring it programmatically.   Although many people enjoy the simplicity of configuring their HAProxy load balancer by directly editing its configuration file, /etc/haproxy/haproxy.cfg, others want a way to...

[On-Demand Webinar] HAProxy Skills Lab: Diagnosing Simple Problems

If you prefer joining the same webinar in French, register here. Troubleshooting network issues can seem like an arcane art. Operations teams build up knowledge through trial-and-error, online forums, and wisdom handed down from one generation to another. However, the...

Kubernetes

Announcing HAProxy Kubernetes Ingress Controller 1.7

We’re proud to announce the release of version 1.7 of the HAProxy Kubernetes Ingress Controller! In this release, we added support for custom resource definitions that cover most of the configuration settings. Definitions are available for the global, defaults and...

Rate Limiting with the HAProxy Kubernetes Ingress Controller

Add IP-by-IP rate limiting to the HAProxy Kubernetes Ingress Controller.   DDoS (distributed denial of service) events occur when an attacker or group of attackers flood your application or API with disruptive traffic, hoping to exhaust its resources and prevent...

Service Discovery

[On-Demand Webinar] What’s New in the HAProxy Data Plane API 2.3

The HAProxy Data Plane API enables remote, dynamic configuration of your HAProxy load balancers. Version 2.3 of the API adds: service discovery for AWS EC2 instances and Auto Scaling groups, the ability to view, add, and remove HAProxy ACLs, support for forwarding API...

Consul Service Discovery for HAProxy

HAProxy with the HAProxy Data Plane API can integrate with Consul to enable service discovery for your load balancer configuration.   Many Ops team professionals rank HAProxy as their favorite load balancer because it adds high availability, security and...

Announcing HAProxy Data Plane API 2.3

The HAProxy Data Plane API 2.3 expands its service discovery mechanisms and introduces native support for discovering AWS EC2 instances and auto-scaling groups. It also adds a new configuration file that supports HCL and YAML, an Inotify configuration watcher, and...

Power Your Consul Service Mesh with HAProxy

Many of you use HashiCorp Consul for service discovery. It makes connecting one backend application or service to another easy: Your Consul servers store a catalog of addresses to all of your services; when an application within the network wants to discover where a...

Cloud

Keine Ergebnisse gefunden

Die angefragte Seite konnte nicht gefunden werden. Verfeinern Sie Ihre Suche oder verwenden Sie die Navigation oben, um den Beitrag zu finden.

LUA

Enabling CORS in HAProxy

The HAProxy Cross-Origin Resource Sharing (CORS) Lua module streamlines adding CORS to your APIs. What is CORS? Read on to learn more.It doesn't matter whether you're using Angular, React, Vue or simple, vanilla JavaScript. You're guaranteed to need to fetch or...

5 Ways to Extend HAProxy with Lua

Use Lua to add fetches, converters, actions, services and tasks to HAProxy. Did you know that HAProxy embeds the Lua scripting language, which you can use to add new functionality? HAProxy features an extremely powerful and flexible configuration language and gives...

Let’s Encrypt (ACMEv2) for HAProxy

HAProxy Technologies is proud to announce the availability of an integrated Let’s Encrypt ACMEv2 Lua client for HAProxy and HAProxy Enterprise Edition (HAPEE). HAPEE comes bundled with Lua support in a precompiled binary conveniently distributed using your Linux...

HAProxy 1.6-Dev1 and LUA

HAProxy 1.6-dev1 Yesterday, Willy has released HAProxy 1.6-dev1: ANNOUNCE HAProxy 1.6-dev1. This version contains many new features and core improvements. Amongst the new features, one is LUA, contributed by Thierry (HAProxy Technologies developer). NOTE: We invite...

Brauchen Sie mehr Unterstützung?

Wenden Sie sich an unsere HAProxy Experten, die Ihnen helfen können die bestmögliche Lösung hinsichtlich Bereitstellung, Skalierung und Sicherheit zu finden.