Update src/docs/markdown/extending-caddy/placeholders.md

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
a 2024-08-21 14:06:05 -05:00 committed by GitHub
parent 31eec04425
commit ece4339d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ Placeholders are a string in the format `{foo.bar}` used as dynamic configuratio
Placeholders-like strings which start with a dollar sign (`{$FOO}`), are evaulated at Caddyfile parse time, and do not need to be dealt with by your plugin. This is because these are not placeholders, but Caddyfile-specific [environmental variable substitution](/docs/caddyfile/concepts#environment-variables), they just happen to share the `{}` syntax.
It is therefore important to understand that `{env.HOST}` is inherently different from something like `{$HOST}`
It is therefore important to understand that `{env.HOST}` is inherently different from something like `{$HOST}`.
As an example, see the following caddyfile:
```caddyfile