LPI
117-304 · Question #28
When using HAProxy to load balance a set of web servers, what directive is needed in the HAProxy configuration to be able to log the IP of the client making the requests to the web servers?
The correct answer is B. option forwardfor. See the full explanation below for the reasoning.
Question
When using HAProxy to load balance a set of web servers, what directive is needed in the HAProxy configuration to be able to log the IP of the client making the requests to the web servers?
Options
- Aoption reverseproxy
- Boption forwardfor
- Coption clientlog
- Doption exposeclient
How the community answered
(44 responses)- A5% (2)
- B70% (31)
- C7% (3)
- D18% (8)
Community Discussion
No community discussion yet for this question.