mirror of
https://github.com/caddyserver/website.git
synced 2025-06-15 10:44:44 -04:00
Update src/docs/markdown/extending-caddy/placeholders.md
Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
31eec04425
commit
ece4339d25
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue