Recently, I have moved my personal source code to GitLab. It rendered self-hosted git repository at repository.sleeplessbeastie.eu obsolete, so I have created simple redirection on HAProxy load balanced to cover this specific case.
Define and use a variable to dynamically choose HAProxy backend depending on the URL parameter, HTTP header field, and cookie value.
Block defined IP addresses on HAProxy load balancer using simple Access Control List.
Define basic authentication on HAProxy load balancer limit access to specific backends.
Define allowed HTTP methods on HAProxy load balancer using simple Access Control Lists.
Enable HTTP/2 on HAProxy 1.8 and temporarily fix the bad request problem with the Nginx backend using FastCGI/uWSGI.
Install recent HAProxy version to take advantage of the new fancy features.