[update 2025.10.29] abstract, minor clarification edits. TL;DR Program HAproxy with LUA to extract information from backends and set response headers/status codes. I'm using HAproxy to load-balance HTTP between two backend nodes. HAproxy is pretty smart about doing this, backing off failing backend nodes, retrying failed requests on healthy backend nodes etc. Recently I got a … Continue reading Convert HTTP response body to status code with HAproxy
Tag: haproxy
Securing a development server
In this post I talk about setting up and securely operating development tools like Jenkins and Gitlab on a server connected to the internet. All applications run behind a firewall and a reverse HTTP proxy which allows only HTTP requests from selected users through who authenticate themselves with client certificates. Putting web-facing software on the … Continue reading Securing a development server

