Enabling forwarding of X-Forwarded HTTP request headers for elastic load balancing
If clients access your Discovery Service through HTTPS and if you use Amazon's Elastic Load Balancing, edit the Web application definition file, web.xml, of the Discovery Service, to enable the forwarding of the X-Forwarded-For, X-Forwarded-Proto and X-Forwarded-Port HTTP headers.