[Bug 427570] externalize common http config to start.ini
This commit is contained in:
parent
9356ab46da
commit
4d4b0c42e7
|
@ -79,13 +79,12 @@
|
|||
<New id="httpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
|
||||
<Set name="secureScheme">https</Set>
|
||||
<Set name="securePort"><Property name="jetty.secure.port" default="8443" /></Set>
|
||||
<Set name="outputBufferSize">32768</Set>
|
||||
<Set name="requestHeaderSize">8192</Set>
|
||||
<Set name="responseHeaderSize">8192</Set>
|
||||
<Set name="sendServerVersion">true</Set>
|
||||
<Set name="sendDateHeader">false</Set>
|
||||
<Set name="outputBufferSize"><Property name="jetty.output.buffer.size" default="32768" /></Set>
|
||||
<Set name="requestHeaderSize"><Property name="jetty.request.header.size" default="8192" /></Set>
|
||||
<Set name="responseHeaderSize"><Property name="jetty.response.header.size" default="8192" /></Set>
|
||||
<Set name="sendServerVersion"><Property name="jetty.send.server.version" default="true" /></Set>
|
||||
<Set name="sendDateHeader"><Property name="jetty.send.date.header" default="false" /></Set>
|
||||
<Set name="headerCacheSize">512</Set>
|
||||
|
||||
<!-- Uncomment to enable handling of X-Forwarded- style headers
|
||||
<Call name="addCustomizer">
|
||||
<Arg><New class="org.eclipse.jetty.server.ForwardedRequestCustomizer"/></Arg>
|
||||
|
|
|
@ -21,13 +21,25 @@ lib/jetty-io-${jetty.version}.jar
|
|||
etc/jetty.xml
|
||||
|
||||
[ini-template]
|
||||
##
|
||||
## Server Threading Configuration
|
||||
##
|
||||
# minimum number of threads
|
||||
threads.min=10
|
||||
# maximum number of threads
|
||||
threads.max=200
|
||||
# thread idle timeout in milliseconds
|
||||
threads.timeout=60000
|
||||
# buffer size for output
|
||||
jetty.output.buffer.size=32768
|
||||
# request header buffer size
|
||||
jetty.request.header.size=8192
|
||||
# response header buffer size
|
||||
jetty.response.header.size=8192
|
||||
# should jetty send the server version header?
|
||||
jetty.send.server.version=true
|
||||
# should jetty send the date header?
|
||||
jetty.send.date.header=false
|
||||
# What host to listen on (leave commented to listen on all interfaces)
|
||||
#jetty.host=myhost.com
|
||||
# Dump the state of the Jetty server, components, and webapps after startup
|
||||
|
|
Loading…
Reference in New Issue