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.

I'm switching from HAProxy to Pound and I need to know if there is an equivalent of

option forwardfor
option httpclose

in Pound.

BTW, I'm already using the

HeadRemove "X-Forwarded-For"

in Pound.

Thanks

share|improve this question
add comment

1 Answer

Looks like Pound does this by default. From http://www.apsis.ch/pound/

As a general rule, Pound passes all headers as they arrive from the client browser to the back-end server(s). There are two exceptions to this rule: Pound may add information about the SSL client certificate (as described below), and it will add an X-Forwarded-For header. The general format is:

    X-Forwarded-for: client-IP-address

My problem was that the application (OpenStack) wasn't using the X-Forwarded-for header by default. I set

--use_forwarded_for=True

and problem solved.

share|improve this answer
add comment

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.