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).
The HAProxy shortcut for start with config is haproxy -f /etc/haproxy/haproxy.cfg.
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?"