|
11 | 11 |
|
12 | 12 | <Configure id="Server" class="org.eclipse.jetty.server.Server"> |
13 | 13 |
|
14 | | - <!-- =========================================================== --> |
| 14 | + <!-- =========================================================================================================== --> |
15 | 15 | <!-- Set handler Collection Structure --> |
16 | | - <!-- =========================================================== --> |
| 16 | + <!-- =========================================================================================================== --> |
17 | 17 |
|
18 | 18 | <Get name="handler"> |
19 | 19 | <Call name="addHandler"> |
|
98 | 98 | </Call> |
99 | 99 | </New> |
100 | 100 |
|
101 | | - <!-- =========================================================== --> |
| 101 | + <!-- =========================================================================================================== --> |
102 | 102 | <!-- extra options --> |
103 | | - <!-- =========================================================== --> |
| 103 | + <!-- =========================================================================================================== --> |
104 | 104 | <Set name="stopAtShutdown">true</Set> |
105 | 105 | <Set name="stopTimeout">1000</Set> |
106 | 106 | <Set name="dumpAfterStart">false</Set> |
107 | 107 | <Set name="dumpBeforeStop">false</Set> |
108 | 108 |
|
| 109 | + <!-- =========================================================================================================== --> |
| 110 | + <!-- Configure the SSL parameters of the server --> |
| 111 | + <!-- --> |
| 112 | + <!-- JavaDoc of o.e.j.u.s.SslContextFactory.Server can be found at: --> |
| 113 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/util/ssl/SslContextFactory.Server.html --> |
| 114 | + <!-- =========================================================================================================== --> |
109 | 115 | <New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server"> |
110 | 116 | <Set name="KeyStorePath"><SystemProperty name="jetty.keystore.path" default="/etc/myKeystore" /></Set> |
111 | 117 | <Set name="KeyStorePassword"><SystemProperty name="jetty.ssl.password" default="OBF:1uh81uha1toc1wn31toi1ugg1ugi" /></Set> |
|
118 | 124 | </New> |
119 | 125 |
|
120 | 126 |
|
121 | | - <!-- =========================================================== --> |
| 127 | + <!-- =========================================================================================================== --> |
122 | 128 | <!-- Add a HTTPS Connector. --> |
123 | 129 | <!-- Configure an o.e.j.server.ServerConnector with connection --> |
124 | 130 | <!-- factories for TLS (aka SSL) and HTTP to provide HTTPS. --> |
125 | 131 | <!-- All accepted TLS connections are wired to a HTTP connection. --> |
126 | 132 | <!-- --> |
127 | | - <!-- Consult the javadoc of o.e.j.server.ServerConnector, --> |
128 | | - <!-- o.e.j.server.SslConnectionFactory and --> |
129 | | - <!-- o.e.j.server.HttpConnectionFactory for all configuration --> |
130 | | - <!-- that may be set here. --> |
131 | | - <!-- =========================================================== --> |
| 133 | + <!-- Consult the JavaDoc of o.e.j.server.ServerConnector at --> |
| 134 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/server/ServerConnector.html, --> |
| 135 | + <!-- o.e.j.server.SslConnectionFactory at --> |
| 136 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/server/SslConnectionFactory.html, --> |
| 137 | + <!-- o.e.j.a.s.ALPNServerConnectionFactory at --> |
| 138 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/alpn/server/ALPNServerConnectionFactory.html, --> |
| 139 | + <!-- o.e.j.h2.s.HTTP2ServerConnectionFactory at --> |
| 140 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/http2/server/HTTP2ServerConnectionFactory.html and --> |
| 141 | + <!-- o.e.j.s.HttpConnectionFactory at --> |
| 142 | + <!-- https://javadoc.jetty.org/jetty-9/org/eclipse/jetty/server/HttpConnectionFactory.html --> |
| 143 | + <!-- for all configuration that may be set here. --> |
| 144 | + <!-- =========================================================================================================== --> |
132 | 145 | <Call name="addConnector"> |
133 | 146 | <Arg> |
134 | 147 | <New class="org.eclipse.jetty.server.ServerConnector" id="sslConnectorId"> |
|
0 commit comments