Complete HAProxy keyboard shortcuts and commands reference — 10 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
| Shortcut | Action |
|---|---|
| haproxy -f /etc/haproxy/haproxy.cfg | Start with config |
| haproxy -c -f /etc/haproxy/haproxy.cfg | Validate config |
| systemctl reload haproxy | Graceful reload |
| systemctl restart haproxy | Restart |
| haproxy -f haproxy.cfg -p haproxy.pid -D | Daemon mode |
| Shortcut | Action |
|---|---|
| echo "show info" | socat stdio /var/run/haproxy.sock | Show info |
| echo "show stat" | socat stdio /var/run/haproxy.sock | Show stats |
| echo "show servers state" | socat stdio /var/run/haproxy.sock | Server state |
| echo "disable server backend/server1" | socat stdio /var/run/haproxy.sock | Disable server |
| echo "enable server backend/server1" | socat stdio /var/run/haproxy.sock | Enable server |
The most essential HAProxy shortcuts are: haproxy -f /etc/haproxy/haproxy.cfg (Start with config), haproxy -c -f /etc/haproxy/haproxy.cfg (Validate config), systemctl reload haproxy (Graceful reload). These cover the most frequent actions and can significantly speed up your workflow.
HAProxy has 10 keyboard shortcuts across 2 categories on shortcut-tools.com.
Simply press the key combination while HAProxy is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The HAProxy shortcut for start with config is haproxy -f /etc/haproxy/haproxy.cfg.
HAProxy includes 5 CLI Commands shortcuts, including haproxy -f /etc/haproxy/haproxy.cfg (Start with config) and haproxy -c -f /etc/haproxy/haproxy.cfg (Validate config). See the full list in the CLI Commands section above.
HAProxy includes 5 Stats & Runtime API shortcuts, including echo "show info" | socat stdio /var/run/haproxy.sock (Show info) and echo "show stat" | socat stdio /var/run/haproxy.sock (Show stats). See the full list in the Stats & Runtime API section above.
Yes — use My Stack to combine HAProxy shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"