I have a reverse proxy in front of my server that is adding the headers.  I
just want my app to process the headers using
the org.eclipse.jetty.server.ForwardedRequestCustomizer customizer.  This
works fine if I uncomment the stanza in jetty.xml's httpConfig.  But I
would prefer not to have to modify that file.

On Mon, Jan 25, 2016 at 11:31 AM, Simone Bordet <[email protected]> wrote:

> Hi,
>
> On Mon, Jan 25, 2016 at 4:01 PM, Jeremy Shapiro <[email protected]>
> wrote:
> > I would like to enable handling of X-Forwarded-* headers in my Jetty 9.3
> > standalone instance.  But I do not want to modify the
> $JETTY_HOME/etc/*.xml
> > files (specifically jetty.xml and jetty-http.xml).  I would prefer to do
> > this from a file in my $JETTY_BASE/webapps xml files.  Is this possible?
>
> The ProxyServlet and its subclasses already add the X-Forwarded-* headers.
> Are you using those classes already ?
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to