-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #5019 - add jetty module files and xml to use ssl-reload with s…
…tart.jar Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- Loading branch information
1 parent
13e034f
commit f348734
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |