From 3342e4824a5490f112e04abd1a096b4e33666620 Mon Sep 17 00:00:00 2001 From: Cameron Martin Date: Fri, 20 Sep 2024 14:22:37 -0700 Subject: [PATCH] Add an explanatory comment to example Caddyfile as well --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index b8271d4..de07a2c 100644 --- a/README.md +++ b/README.md @@ -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 }