3 ms·
I'm surprised you find the documentation lacking. What type of API are you talking about? The internal C API? Lua? Configuration? Something else? Disclosure: I
by TimWolla 4y ago
I'm surprised you find the documentation lacking. What type of API are you talking about? The internal C API? Lua? Configuration? Something else?
Disclosure: I'm a community contributor to HAProxy and help maintain the issue tracker.
- manishsharan 4y agoThe documentation is extensive but I was unable to find tutorial that could help me dynamically add/remove backend servers using the dataplane API. Also being able to dynamically refresh certificate. These are pretty much the only reasons for why I am considering Caddy.
- TimWolla 4y agoThe dataplane API is an external product that itself uses the "stats socket". I personally don't have any experience with the dataplane API. Changing certificates (https://docs.haproxy.org/2.6/management.html#9.3-add%20ssl%20crt-list https://docs.haproxy.org/2.6/management.html#9.3-add%20ssl%2...) and adding servers (https://docs.haproxy.org/2.6/management.html#9.3-add%20server https://docs.haproxy.org/2.6/management.html#9.3-add%20serve...) using the stats socket is both officially documented. If you find the documentation insufficient or unclear, then this can be considered a documentation bug that I recommend filing here: https://github.com/haproxy/haproxy/issues https://github.com/haproxy/haproxy/issues