Skip to content

Commit

Permalink
Merge pull request #7544 from eclipse/jetty-10.0.x-well-known-listing
Browse files Browse the repository at this point in the history
Add option to allow well-known directories to be listed.
  • Loading branch information
lachlan-roberts authored Feb 22, 2022
2 parents 3d9f346 + 1d539c7 commit 75fdd06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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.listDirectories" default="false"/></Set>
</New>
</Set>
</New>
Expand Down
3 changes: 3 additions & 0 deletions jetty-server/src/main/config/modules/well-known.mod
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.listDirectories=false

0 comments on commit 75fdd06

Please sign in to comment.