[jetty-users] ProxyServlet https redirect issue
I'm have a problem with redirects when requests go through a ProxyServlet configured on HTTPS, proxying for an HTTP backend. The problem is that when the application sends a redirect, the URL schema is reset from HTTPS to HTTP. Ex:
String redirectURL = request.getContextPath() + "/b.jsp";
The app is running on Jetty and configured with SelectChannelConnector on port 8086. The transparent proxy is configured like this:
SslSelectChannelConnector for the proxy is configured on port 443.
How can I set up the proxy or the backend so that the HTTPS schema is preserved on redirects?
(I'm using Jetty 7.1.6.v20100715 both on proxy and the backend server.)