restlet-framework-java icon indicating copy to clipboard operation
restlet-framework-java copied to clipboard

How to configure org.restlet.Server to add ForwardedRequestCustomizer to the Jetty server?

Open KevinDyer-3DS opened this issue 2 years ago • 0 comments

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/

KevinDyer-3DS avatar Dec 17 '21 20:12 KevinDyer-3DS