Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where it is located? Sometimes I see it under /etc/haproxy.conf, other times at /etc/haproxy/haproxy.cfg. IF both reside, which one precedes then?

share|improve this question
up vote 4 down vote accepted

If you look at haproxy manual, you can read:

haproxy  -f  <configuration file> other options...

So, the config file is not optional. It has to be specified when haproxy is started. So, you need to check your startup file such as /etc/init.d/haproxy.

share|improve this answer

my configuration as of the moment resides on /etc/haproxy/haproxy.cfg.

just run the config using proper permissions.

sudo haproxy -f /etc/haproxy/haproxy.cfg

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.