I'm working on a configuration of restlet where the instance is running behind a load balancer. The load balancer is connecting to the restlet server via HTTP but the client is connecting to the LB via HTTPS. The LB is sending down the normal X-Forwarded-XXX (port, proto, host, servername, for) as new HTTP headers. Currently when the restlet server is using request.sendRedirect the location header is being written by the contain as http://localServerName:localPort/
I'm working on a configuration of restlet where the instance is running behind a load balancer. The load balancer is connecting to the restlet server via HTTP but the client is connecting to the LB via HTTPS. The LB is sending down the normal X-Forwarded-XXX (port, proto, host, servername, for) as new HTTP headers. Currently when the restlet server is using request.sendRedirect the location header is being written by the contain as http://localServerName:localPort/