Issue #5019 - add jetty module files and xml to use ssl-reload with start.jar

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2020-07-10 12:20:12 +10:00
parent 13e034fc5f
commit f34873419e
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?xml version="1.0"?><!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<Configure id="Server" class="org.eclipse.jetty.server.Server">
<Call name="addBean">
<Arg>
<New id="sslKeyStoreScanner" class="org.eclipse.jetty.ssl.reload.SslKeyStoreScanner.SslKeyStoreScanner">
<Arg><Ref refid="sslContextFactory"/></Arg>
<Set name="scanInterval"><Property name="jetty.ssl.reload.scanInterval" default="1"/></Set>
</New>
</Arg>
</Call>
</Configure>

View File

@ -0,0 +1,17 @@
DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Enables the SSL keystore to be reloaded after any changes are detected on the file system.
[depend]
ssl
[lib]
lib/jetty-ssl-reload-${jetty.version}.jar
[xml]
etc/jetty-ssl-reload.xml
[ini-template]
# Monitored directory scan period (seconds)
# jetty.ssl.reload.scanInterval=1