From 16b070db01b24af9932307ac34e9a13f1d1de70a Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 8 Feb 2022 11:27:00 +1100 Subject: [PATCH] Add option to allow well-known directories to be listed. Signed-off-by: Lachlan Roberts --- jetty-server/src/main/config/etc/well-known.xml | 2 +- jetty-server/src/main/config/modules/well-known.mod | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/config/etc/well-known.xml b/jetty-server/src/main/config/etc/well-known.xml index e35118a0df5..ec0ae46cce0 100644 --- a/jetty-server/src/main/config/etc/well-known.xml +++ b/jetty-server/src/main/config/etc/well-known.xml @@ -12,7 +12,7 @@ - false + diff --git a/jetty-server/src/main/config/modules/well-known.mod b/jetty-server/src/main/config/modules/well-known.mod index e5ee42fe7f4..637db50ccd2 100644 --- a/jetty-server/src/main/config/modules/well-known.mod +++ b/jetty-server/src/main/config/modules/well-known.mod @@ -20,3 +20,6 @@ etc/well-known.xml ## Well Known Directory (relative to $JETTY_BASE if relative path, otherwise it is an absolute path). # jetty.wellknown.dir=.well-known # end::documentation[] + +## Allow contents of the well-known directory to be listed. +# jetty.wellknown.directoriesListed=false