haproxy -c -f /etc/haproxy/haproxy.cfg -f /etc/haproxy/conf.d/

Category: Web Servers & Proxies

haproxy -c -f /etc/haproxy/haproxy.cfg -f /etc/haproxy/conf.d/

Validate HAProxy config split across multiple files

HAProxy accepts repeated -f flags, and each one may name a file or a directory whose .cfg files are loaded in lexical order. This validates a main config plus an include directory in one pass. Useful for setups that keep backends in separate files.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.