Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We get audited by a outside company that does a

CONNECT domain.com:80 HTTP/1.0

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

1 Answer 1

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

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

Your Answer

 
discard

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.