Knowledge Base | Random Tips

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...
![[Conference Presentation] Dynamic Application Routing Over SSL with HAProxy Enterprise](https://cdn.haproxy.com/wp-content/uploads/2017/05/openstacksummit-2-1.png)
[Conference Presentation] Dynamic Application Routing Over SSL with HAProxy Enterprise
Back in May, HAProxy Senior Systems Engineer Chad Lavoie presented at the OpenStack Summit Boston. Chad presented on using maps in HAProxy to dynamically route requests while securing your site with SSL combined with the use of the Update Module (included in HAProxy...

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...

HAProxy and gzip Compression
Synopsis Compression is a Technic to reduce object size to reduce delivery delay for objects over HTTP protocol. Until now, HAProxy did not include such feature. But the guys at HAProxy Technologies worked hard on it (mainly David Du Colombier and @wlallemand)....

Application Delivery Controller and eCommerce Websites
Synopsis Today, almost any ecommerce website uses a load-balancer or an application delivery controller in front of it, in order to improve its availability and reliability. In today's article, I'll explain how we can take advantage of ADCs' layer 7 features to...

Use GeoIP Database within HAProxy
Introduction Sometimes we need to know the country of the user using the application, for different purposes: Automatically select the most appropriate language Send a 302 to redirect the user to the closest POP from his location Allow only a single country to browse...

Preserve Source IP Address Despite Reverse Proxies
What is a Reverse-Proxy? A Reverse-proxy is a server which get connected on upstream servers on behalf of users. Basically, it usually maintain two TCP connections: one with the client and one with the upstream server. The upstream server can be either an application...