How to log real client ip in rails log when behind proxy like nginx How to log real client ip in rails log when behind proxy like nginx ruby ruby