You haven't told us anything about your existing load-balanced setup or how you expect your Nginx server to receive that data, so it's doubtful we'll be able to help you. If your load balancer is not sending those values, then obviously they will be empty strings when you try to retrieve them from the request headers.