Thanks Gili, I'm actually using Grizzly HTTP now. But I will keep that in
mind if I switch.
On Fri, May 9, 2014 at 11:52 AM, <cowwoc_at_bbs.darktech.org> wrote:
> Hi Robert,
>
> FYI, on Jetty 9 you can do the following:
>
> 1. Add:
>
> RequestHeader set X-Forwarded-Proto "https" env=HTTPS
>
> to your httpd configuration.
>
> Source:
> http://wiki.eclipse.org/Jetty/Howto/Configure_mod_proxy#Proxying_SSL_on
> _Apache_to_HTTP_on_Jetty
>
> 2. Add "HttpConfiguration.addCustomizer(new
> ForwardedRequestCustomizer());" to Jetty's code.
>
> You're done!
>
> The Request URL will now contain the forwarded URL.
>
> Gili
>