Created
December 17, 2015 22:13
-
-
Save robmoore/265975988a34d34d767f to your computer and use it in GitHub Desktop.
Can be used in ${jetty.base}/etc to add forwarded support rather than editing jetty.xml.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd"> | |
<Configure id="Server" class="org.eclipse.jetty.server.Server"> | |
<Ref refid="httpConfig"> | |
<Call name="addCustomizer"> | |
<Arg> | |
<New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/> | |
</Arg> | |
</Call> | |
</Ref> | |
</Configure> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Need to add the following to your start.ini file as well under jetty.base.
echo "etc/forwarded-request-customizer.xml" >> start.ini