Haproxy Early Hints

One of the new features added to HAProxy 1.9 is Early Hints. Sent as an early HTTP-103 header, Early Hints (rfc8297), might be a replacement for HTTP/2's Server Push. The main difference between Early Hints and Server Push, is that Server Push actually sends data you…

Haproxy Cloud Native Logging

Recently, HAProxy 1.9 was released to the public. One of the enhancements this release has had, is to the way it logs: HAProxy is now able to log to stdout and stderr. Logging to stdout or stderr is important for container environments, like Docker. To enable logging to stdout,…

Stopping media autoplay in Firefox

Media sites have found a new way to annoy me when browsing their websites: Automatically playing videos without my consent. Relevant to the article or no, for me, this is right up there with blinking or moving ads on the Eelco Scale of Annoyance. Starting with the Quantum release (60)…

Stop trying to make it happen...

A new chapter in the browser wars. When you try to install the Firefox or Chrome web browser on a recent Windows 10 version 1809 Insider build, you may notice that the installation gets interrupted by the operating system. -- https://www.ghacks.net/2018/09/12/microsoft-intercepting-firefox-chrome-installation-on-windows-10/ Yes, Microsoft,…

Notes: Preparing for RHCSA & RHCE 1

Partitioning Supported tools: * MBR disks: fdisk * GPT disks: gdisk To force the Red Hat installer to use GPT, add inst.gpt to the kernel commandline. Don't convert MBR partitions of a boot-disk to GPT, grub2 will fail to locate stage2 of the boot image. KB: base-10 (1000x1000) KiB:…

Exiting the vi editor

Yes, this page contains the way to exit the vi (or more modernly, vim) editor, just scroll to the end of this page. But please, before you just quit and forget the best text editor the GNU/Linux and UNIX platforms have to offer, please take a look at what…

HAProxy: routing HTTP requests by domain name

Recently, I have been looking into HAProxy as an alternative load balancer to NGINX. NGINX' free version lacks features vital to a multi-container environment. The most important features we need are upstream health checks and sticky sessions. So far, least_conn or ip_hash have worked well enough, but…

HAProxy inside Docker: getting the logs

The official HAProxy docker image does not really offer an out-of-the-box way to get to HAProxy's logs other than sending it to a remote log server. Sending log messages to stdout/stderr so you can view the logs with docker logs does not appear to be possible with…