Lua scripting in HAProxy - PiBa-NL/pfsense-haproxy-package-doc GitHub Wiki
HAProxy allows integrating custom functionality by using Lua scripts.
Some info and examples about that can be found under the links below.
Documentation:
Useful scripts and examples:
- https://www.arpalert.org/haproxy-scripts.html (print_r.lua, stats.lua)
- https://github.com/TimWolla/h-app-roxy (h_app_roxy.lua, shorturl.lua)
- https://github.com/PiBa-NL/MyPublicProjects/tree/master/haproxy/lua-scripts/ (smtpmailqueue, serverhealthchecker)