Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] adding http ForwardRequestCustomizer from $JETTY_BASE

Hi,

On Mon, Jan 25, 2016 at 4:01 PM, Jeremy Shapiro <jnshapiro@xxxxxxxxx> 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.


Back to the top