Hey, I have the same issue, and tried adding: proxy_set_header X-Server-Address $server_addr; but I still have: SERVER_ADDR = 127.0.0.1 but I do have: HTTP_X_SERVER_ADDRESS = [THE_REAL_SERVER_IP] Posted at Nginx Forum: http://forum.nginx.org/read.php?2,141655,194638#msg-194638