2.1. Configuration file format

  1. HAProxy's configuration process involves 3 major sources of parameters :
  2.  
  3. - the arguments from the command-line, which always take precedence
  4. - the "global" section, which sets process-wide parameters
  5. - the proxies sections which can take form of "defaults", "listen",
  6. "frontend" and "backend".
  7.  
  8. The configuration file syntax consists in lines beginning with a keyword
  9. referenced in this manual, optionally followed by one or several parameters
  10. delimited by spaces.