Skip to content

Commit

Permalink
Add an explanatory comment to example Caddyfile as well
Browse files Browse the repository at this point in the history
  • Loading branch information
camhux committed Sep 20, 2024
1 parent b4bdc6b commit 3342e48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ You may embed directories into the Caddy executable and serve them from the `emb
$ xcaddy build --embed foo:./sites/foo --embed bar:./sites/bar
$ cat Caddyfile
{
# You must declare a custom filesystem using the `embedded` module.
# The first argument to `filesystem` is an arbitrary identifier
# that will also be passed to `fs` directives.
filesystem my_embeds embedded
}
Expand Down

0 comments on commit 3342e48

Please sign in to comment.