Add option to allow well-known directories to be listed.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2022-02-08 11:27:00 +11:00
parent 4166f85026
commit 16b070db01
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<Arg><Property name="jetty.wellknown.dir" default=".well-known"/></Arg>
</Call>
</Set>
<Set name="directoriesListed">false</Set>
<Set name="directoriesListed"><Property name="jetty.wellknown.directoriesListed" default="false"/></Set>
</New>
</Set>
</New>

View File

@ -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