Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-09-13 00:43:03 -0400
committerGreg Wilkins2012-09-13 00:43:03 -0400
commit9940796a32d3a938de0609d2aa23cced112fde1f (patch)
tree25edae337c01dfc06318285e93bb683b48069e0c /jetty-server/src/main/config/etc/jetty.xml
parentc709981aa53d5331f9ffbcb0260e82a2a2341889 (diff)
downloadorg.eclipse.jetty.project-9940796a32d3a938de0609d2aa23cced112fde1f.tar.gz
org.eclipse.jetty.project-9940796a32d3a938de0609d2aa23cced112fde1f.tar.xz
org.eclipse.jetty.project-9940796a32d3a938de0609d2aa23cced112fde1f.zip
jetty-9 xml configurations
Diffstat (limited to 'jetty-server/src/main/config/etc/jetty.xml')
-rw-r--r--jetty-server/src/main/config/etc/jetty.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml
index 9d0f8b6a96..dec2d4da99 100644
--- a/jetty-server/src/main/config/etc/jetty.xml
+++ b/jetty-server/src/main/config/etc/jetty.xml
@@ -29,6 +29,21 @@
</Arg>
<Arg name="container"><Ref id="Container"/></Arg>
+
+ <!-- =========================================================== -->
+ <!-- HttpChannel Configuration -->
+ <!-- =========================================================== -->
+ <New id="httpConfig" class="org.eclipse.jetty.server.HttpChannelConfig">
+ <Set name="secureScheme">https</Set>
+ <Set name="securePort">8443</Set>
+ <Set name="outputBufferSize">32768</Set>
+ <Set name="requestHeaderSize">8192</Set>
+ <Set name="responseHeaderSize">8192</Set>
+ <Call name="addCustomizer">
+ <Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
+ </Call>
+ </New>
+
<!-- =========================================================== -->
<!-- Set connectors -->
<!-- =========================================================== -->
@@ -36,6 +51,13 @@
<Arg>
<New class="org.eclipse.jetty.server.SelectChannelConnector">
<Arg name="server"><Ref id="Server" /></Arg>
+ <Arg name="factories">
+ <Array type="org.eclipse.jetty.server.ConnectionFactory">
+ <Item><New class="org.eclipse.jetty.server.HttpConnectionFactory">
+ <Arg name="config"><Ref id="httpConfig"/></Arg>
+ </New></Item>
+ </Array>
+ </Arg>
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="jetty.port" default="8080"/></Set>
<Set name="idleTimeout">30000</Set>
@@ -68,7 +90,7 @@
<Set name="sendServerVersion">true</Set>
<Set name="sendDateHeader">true</Set>
<Set name="stopTimeout">1000</Set>
- <Set name="dumpAfterStart">false</Set>
+ <Set name="dumpAfterStart">true</Set>
<Set name="dumpBeforeStop">false</Set>
</Configure>

Back to the top