Revert "caddyfile: snippet block input documentation (#400)"

This reverts commit 41470c4e02.
This commit is contained in:
Francis Lavoie 2024-06-29 12:40:10 -04:00
parent 3381c0a0c9
commit cf78bf0716
No known key found for this signature in database
GPG key ID: 52BC55A211F19186
2 changed files with 1 additions and 74 deletions

View file

@ -413,29 +413,6 @@ b.example.com {
}
```
⚠️ <i>Experimental</i> <span style='white-space: pre;'> | </span> <span>v2.9.x+</span>
You can also pass an optional block to an imported snippet, and use them as follows.
```caddy
(snippet) {
{block}
respond "OK"
}
a.example.com {
import snippet {
header +foo bar
}
}
b.example.com {
import snippet {
header +bar foo
}
}
```
**[Read the `import` directive page](/docs/caddyfile/directives/import) to learn more.**