Skip to content

Commit

Permalink
Add embedded filesystem declaration to --embed example
Browse files Browse the repository at this point in the history
Also mention the filesystem explicitly in the preceding sentence
  • Loading branch information
camhux committed Sep 16, 2024
1 parent b72e330 commit 95f9499
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,15 @@ This allows you to hack on Caddy core (and optionally plug in extra modules at t

---

You may embed directories into the Caddy executable:
You may embed directories into the Caddy executable and serve them from the `embedded` filesystem:

```
$ xcaddy build --embed foo:./sites/foo --embed bar:./sites/bar
$ cat Caddyfile
{
filesystem embedded embedded
}
foo.localhost {
root * /foo
file_server {
Expand Down

0 comments on commit 95f9499

Please sign in to comment.