2014-10-13 10:05:19 +07:00
|
|
|
<?xml version="1.0"?>
|
2016-07-08 15:40:24 +07:00
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
|
2014-10-13 10:05:19 +07:00
|
|
|
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<!-- Configure a HTTPS connector. -->
|
|
|
|
<!-- This configuration must be used in conjunction with jetty.xml -->
|
|
|
|
<!-- and jetty-ssl.xml. -->
|
|
|
|
<!-- ============================================================= -->
|
|
|
|
<Configure id="sslConnector" class="org.eclipse.jetty.server.ServerConnector">
|
|
|
|
|
2016-07-08 15:40:24 +07:00
|
|
|
<Call name="addIfAbsentConnectionFactory">
|
2014-10-13 10:05:19 +07:00
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.server.SslConnectionFactory">
|
|
|
|
<Arg name="next">http/1.1</Arg>
|
|
|
|
<Arg name="sslContextFactory"><Ref refid="sslContextFactory"/></Arg>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2016-07-08 15:40:24 +07:00
|
|
|
|
2014-10-13 10:05:19 +07:00
|
|
|
<Call name="addConnectionFactory">
|
|
|
|
<Arg>
|
|
|
|
<New class="org.eclipse.jetty.server.HttpConnectionFactory">
|
|
|
|
<Arg name="config"><Ref refid="sslHttpConfig" /></Arg>
|
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
2016-07-08 15:40:24 +07:00
|
|
|
</Configure>
|