Check haproxy configuration file for errors

Problem

You would like to check your haproxy.cfg file for errors when making changes.

Solution

Use the following command to validate/check your HAProxy configuration file: