[java-idp-jetty-base] 02/02: IDP-2334 Determine sensible defaults for the server's root page.

Rod Widdowson rdw at steadingsoftware.com
Fri Oct 11 13:22:11 UTC 2024


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch 12
in repository java-idp-jetty-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=9a559168d7cf12ef7c00ae58f886b7d6f9216dc3

commit 9a559168d7cf12ef7c00ae58f886b7d6f9216dc3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Oct 11 14:19:37 2024 +0100

    IDP-2334 Determine sensible defaults for the server's root page.
    
    https://shibboleth.atlassian.net/browse/IDP-2334
    
    * Set jetty.server.default.showContexts to false
    * Create an empty index.html in static
---
 src/main/resources/jetty-base/start.d/idp.ini   | 2 ++
 src/main/resources/jetty-base/static/.gitkeep   | 0
 src/main/resources/jetty-base/static/index.html | 8 ++++++++
 3 files changed, 10 insertions(+)

diff --git a/src/main/resources/jetty-base/start.d/idp.ini b/src/main/resources/jetty-base/start.d/idp.ini
index 857cad8..5d3d5c7 100644
--- a/src/main/resources/jetty-base/start.d/idp.ini
+++ b/src/main/resources/jetty-base/start.d/idp.ini
@@ -39,3 +39,5 @@ etc/jetty-requestlog.xml
 jetty.http.host=127.0.0.1
 # Default jetty.http.port is 8080
 # jetty.http.port=80
+
+jetty.server.default.showContexts=false
diff --git a/src/main/resources/jetty-base/static/.gitkeep b/src/main/resources/jetty-base/static/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/src/main/resources/jetty-base/static/index.html b/src/main/resources/jetty-base/static/index.html
new file mode 100644
index 0000000..04b3dc1
--- /dev/null
+++ b/src/main/resources/jetty-base/static/index.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+
+<html>
+
+<head>
+<title>Add your stuff here</title>
+</head>
+</html>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list