Thanks! Setting "underscores_in_headers on;" fixed the issue and X_FORWARDED_PROTO is being carried forward now. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238384,238387#msg-238387