Reference

expert-mode

On this page

Available since

  • HAProxy 2.1
  • HAProxy Enterprise 2.1r1

Enable or disable access to restricted debugging commands.

Description Jump to heading

Enable or disable access to restricted debugging commands. This command is accessible only in admin level. Changing to another level resets expert mode.

Warning

Expert mode commands require a build of the load balancer that has debugging enabled. The commands are for debugging or development purposes only and can cause abnormal termination of the load balancer process. Do not use expert mode commands except as directed by HAProxy Enterprise support or development personnel.

Example Jump to heading

Enable expert mode:

nix
echo "expert-mode on" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999
nix
echo "expert-mode on" | \
sudo socat stdio tcp4-connect:127.0.0.1:9999

Do you have any suggestions on how we can improve the content of this page?