Hi Haproxy team ,
I have a question. I have a backed instance which attached to haproxy
instance. I have requirement to get client IP in my nodejs application
logs . But how ever im getting the haproxy IP. I refer all your x forwarder
options can use to get client ip but still im getting the haproxy server ip
in my logs. Can you advice any thing i can do . Below you i will mentioned
configuration changes i used.
# add X-FORWARDED-FOR
option forwardfor
# add X-CLIENT-IP
http-request add-header X-CLIENT-IP %[src]
--
Best Regards,
Viranga Jayalath
DevOps and Application Engineering,Cloud Services Technology Operations
Pearson Lanka (Pvt) Ltd.
Technology Operations
Orion City, Alnitak Building
No. 752, Dr. Danister De Silva Mawatha
Sri Lanka
*M* +94 (0) 714 672980
Learn more at *pearson.com http://pearson.com/*
*ALWAYS LEARNING*
I have a question. I have a backed instance which attached to haproxy
instance. I have requirement to get client IP in my nodejs application
logs . But how ever im getting the haproxy IP. I refer all your x forwarder
options can use to get client ip but still im getting the haproxy server ip
in my logs. Can you advice any thing i can do . Below you i will mentioned
configuration changes i used.
# add X-FORWARDED-FOR
option forwardfor
# add X-CLIENT-IP
http-request add-header X-CLIENT-IP %[src]
--
Best Regards,
Viranga Jayalath
DevOps and Application Engineering,Cloud Services Technology Operations
Pearson Lanka (Pvt) Ltd.
Technology Operations
Orion City, Alnitak Building
No. 752, Dr. Danister De Silva Mawatha
Sri Lanka
*M* +94 (0) 714 672980
Learn more at *pearson.com http://pearson.com/*
*ALWAYS LEARNING*