Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] ProxyServlet.Transparent redirect problem

Hi all,

I am using ProxyServlet.Transparent to proxy some paths from a
"front-end" instance of jetty to another "back-end" instance.

This works beautifully, except in one specific case: if the front-end
instance is serving https and the back-end is serving http, redirects
generated by the back-end do not have the protocol rewritten
by the proxy servlet before they are sent back to the client
web browser.  The client gets redirected to an http URL,
which of course doesn't work, since the front-end is serving only
https.

Is there some way I can get ProxyServlet.Transparent to modify
the redirect to convert "http" to "https"?

Thanks,
Dave


Back to the top