HAProxy Docker sample configuration.
- HTML 83.5%
- Shell 16.5%
| conf/haproxy | ||
| inc | ||
| readme | ||
| scripts | ||
| .env | ||
| docker-compose.yml | ||
| LICENSE | ||
| README.md | ||
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 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-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)