Fix nginx forwarding issue with remote address.