The Story Behind X-Forwarded-For and X-Real-IP

Posted on Wed 21 October 2015 in Networking • Tagged with headers, x-forwarded-for, x-real-ip, proxy, nginx

Analysis of X-Forwarded-For and X-Real-IP headers, their origins, differences, and how to determine the client's real IP in architectures with multiple proxies


Continue reading

Nginx: Configuring X-Forwarded-For in Reverse Proxy

Posted on Wed 21 October 2015 in DevOps • Tagged with nginx, reverse-proxy, x-forwarded-for, real-ip, configuration

How to configure Nginx to pass the client's real IP to backend servers using the X-Forwarded-For header in reverse proxy configurations


Continue reading