1
|
<?xml version="1.0"?>
|
2
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
3
|
|
4
|
<!-- ============================================================== -->
|
5
|
<!-- Sets up characteristics of the org.eclipse.jetty.server.Server -->
|
6
|
<!-- instance for the plugin to use. Importantly, it sets up the -->
|
7
|
<!-- org.eclipse.jetty.server.HttpConfiguration element that we can -->
|
8
|
<!-- refer to in subsequent xml files that configure the connectors -->
|
9
|
<!-- ============================================================== -->
|
10
|
|
11
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
12
|
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
13
|
<Set name="secureScheme">http</Set>
|
14
|
<Set name="securePort">
|
15
|
<Property name="jetty.secure.port" default="9443" />
|
16
|
</Set>
|
17
|
<Set name="outputBufferSize">32768</Set>
|
18
|
<Set name="requestHeaderSize">8192</Set>
|
19
|
<Set name="responseHeaderSize">8192</Set>
|
20
|
<Set name="sendServerVersion">true</Set>
|
21
|
<Set name="sendDateHeader">false</Set>
|
22
|
<Set name="headerCacheSize">512</Set>
|
23
|
<!-- Uncomment to enable handling of X-Forwarded- style headers <Call name="addCustomizer">
|
24
|
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
25
|
</Call> -->
|
26
|
</New>
|
27
|
</Configure>
|