Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

We get audited by a outside company that does a


Right now haproxy is the first one taking the request and it is returning a 502 error. The audit company expects a 4xx return code.

The server isn't set to proxy anything but the company things it is allowing it.. any way in haproxy to work around this.

Nginx on the backend is handling the request ok and returning a 400 but then when it is passed back to haproxy its switching it to a 502 for some reason

share|improve this question
up vote 2 down vote accepted

ok in classic fashion I found the answer digging through the docs after trying for 2 hours before I posted this

share|improve this answer
This isn't normal, but on meth, it is. – Wesley Oct 12 '11 at 2:19

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.