x-forward-header / x-real-ip

Payam Chychi pchychi at gmail.com
Tue Apr 21 23:41:16 MSD 2009


hey guys,

what is the main difference between these two? reading the
documentation it looks like both set the ip address of the client on
the request which allows you to pass the real client ip address to a
backend server via nginx proxy...  or i could be totally wrong here!

I was looking on the site for an example as to how the config would
look if I wanted to let the backend know of the real client ip address
that is requesting the connection... need this for load balancing.:

Thanks,
-- 
Payam Tarverdyan Chychi
Network Security Specialist / Network Engineer





More information about the nginx mailing list