2015-01-05 10:45:58 -05:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
|
|
|
|
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<!-- Configure a HTTPS connector. -->
|
|
|
|
<!-- This configuration must be used in conjunction with jetty.xml -->
|
|
|
|
<!-- and jetty-ssl.xml. -->
|
|
|
|
<!-- ============================================================= -->
|
2015-04-22 07:35:31 -04:00
|
|
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
2015-01-05 10:45:58 -05:00
|
|
|
|
2015-04-22 07:35:31 -04:00
|
|
|
<!-- =========================================================== -->
|
|
|
|
<!-- Add a HTTPS Connector. -->
|
|
|
|
<!-- Configure an o.e.j.server.ServerConnector with connection -->
|
|
|
|
<!-- factories for TLS (aka SSL) and HTTP to provide HTTPS. -->
|
|
|
|
<!-- All accepted TLS connections are wired to a HTTP connection.-->
|
|
|
|
<!-- -->
|
|
|
|
<!-- Consult the javadoc of o.e.j.server.ServerConnector, -->
|
|
|
|
<!-- o.e.j.server.SslConnectionFactory and -->
|
|
|
|
<!-- o.e.j.server.HttpConnectionFactory for all configuration -->
|
|
|
|
<!-- that may be set here. -->
|
|
|
|
<!-- =========================================================== -->
|
|
|
|
<Call id="httpsConnector" name="addConnector">
|
2015-01-05 10:45:58 -05:00
|
|
|
<Arg>
|
2015-04-22 07:35:31 -04:00
|
|
|
<New class="org.eclipse.jetty.server.ServerConnector">
|
|
|
|
<Arg name="server"><Ref refid="Server" /></Arg>
|
|
|
|
<Arg name="acceptors" type="int"><Property name="solr.jetty.ssl.acceptors" default="-1"/></Arg>
|
|
|
|
<Arg name="selectors" type="int"><Property name="solr.jetty.ssl.selectors" default="-1"/></Arg>
|
|
|
|
<Arg name="factories">
|
|
|
|
<Array type="org.eclipse.jetty.server.ConnectionFactory">
|
|
|
|
<Item>
|
|
|
|
<New class="org.eclipse.jetty.server.SslConnectionFactory">
|
|
|
|
<Arg name="next">http/1.1</Arg>
|
|
|
|
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
|
|
|
|
</New>
|
|
|
|
</Item>
|
|
|
|
<Item>
|
|
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
|
|
|
<Arg name="config"><Ref refid="sslHttpConfig"/></Arg>
|
|
|
|
</New>
|
|
|
|
</Item>
|
|
|
|
</Array>
|
|
|
|
</Arg>
|
|
|
|
<Set name="host"><Property name="solr.jetty.host" /></Set>
|
2015-04-23 10:17:35 -04:00
|
|
|
<Set name="port"><Property name="solr.jetty.https.port" default="8983" /></Set>
|
2016-04-01 12:21:59 -04:00
|
|
|
<Set name="idleTimeout"><Property name="solr.jetty.https.timeout" default="120000"/></Set>
|
2015-04-22 07:35:31 -04:00
|
|
|
<Set name="soLingerTime"><Property name="solr.jetty.https.soLingerTime" default="-1"/></Set>
|
|
|
|
<Set name="acceptorPriorityDelta"><Property name="solr.jetty.ssl.acceptorPriorityDelta" default="0"/></Set>
|
|
|
|
<Set name="selectorPriorityDelta"><Property name="solr.jetty.ssl.selectorPriorityDelta" default="0"/></Set>
|
|
|
|
<Set name="acceptQueueSize"><Property name="solr.jetty.https.acceptQueueSize" default="0"/></Set>
|
2015-01-05 10:45:58 -05:00
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2015-04-22 07:35:31 -04:00
|
|
|
</Configure>
|