HAProxy Docker sample configuration.
  • HTML 83.5%
  • Shell 16.5%
Find a file
2026-06-07 15:02:21 +02:00
conf/haproxy Fixes for Docker IP binds 2026-06-07 15:02:21 +02:00
inc initial commit 2026-04-14 15:34:11 +02:00
readme initial commit 2026-04-14 15:34:11 +02:00
scripts initial commit 2026-04-14 15:34:11 +02:00
.env Fixes for Docker IP binds 2026-06-07 15:02:21 +02:00
docker-compose.yml Fixes for Docker IP binds 2026-06-07 15:02:21 +02:00
LICENSE Initial commit 2026-04-14 13:32:32 +00:00
README.md Fixes for Docker IP binds 2026-06-07 15:02:21 +02:00

HAProxy

HAProxy Docker sample configuration.

Usage

Deploy HAProxy under Docker with modular configuration files.

conf/haproxy/conf.d

Contains configurations files sperated into :

  • main : Basically global, default, resolvers and global cache settings
  • frontend : Defines frontends (stats, metrics, tcp ssh and http(s))
  • backends : Put here the backends specific settings, one backend a file

conf/haproxy/include.d

Contains http error files and whitelists, blacklists.

Tip

Search for REDACTED string in files to find where to put your personnal settings.

Changelog

2026-06-07

  • Update SSL/TLS options (warning in logs)
  • Add commented for specific IP address bindings
  • Fixes for Docker IP binds

2026-06-06

  • Update SSL/TLS settings to raise standards
  • Update rate limiting settings

2026-06-05

  • Add acl rules to protect sensitive files or paths

2026-05-08

  • Handle websocket problems over h2/h3 (flag)

2026-04-26

  • Add 404 error page
  • Configuration files rearrange
  • Config' bugfixes

2026-04-16

  • Writting rearrange
  • Add bot list (bad, good, ia) to be silent dropped

2026-04-15

  • Optimizations
  • Add uri normalization
  • Add nolog for 'stats' and 'prometheus' frontend
  • Add humans.txt
  • Add .php rickroll protection with allowed sites

2026-04-14

  • Initial commit
  • Rework configuration (readability, headers name in lowercase)