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:
parent
13e034fc5f
commit
f34873419e
|
@ -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>
|
|
@ -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
|
Loading…
Reference in New Issue