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