Skip to content

Commit

Permalink
Add option to allow well-known directories to be listed.
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <[email protected]>
  • Loading branch information
lachlan-roberts authored and sbordet committed Feb 23, 2022
1 parent b620d15 commit ce2ea66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jetty-core/jetty-server/src/main/config/etc/well-known.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ce2ea66

Please sign in to comment.