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

link|improve this question

60% accept rate
feedback

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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