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:05:46 -05:00 committed by GitHub
parent b9e15fd758
commit bcd6694039
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ If you are not yet familiar with placeholders, start by reading [here](/docs/con
## Placeholder Internals ## Placeholder Internals
Internally, placeholders are simply a string in format `{foo.bar}` used as valid configuration values, which is later parsed at runtime. Placeholders are a string in the format `{foo.bar}` used as dynamic configuration values, which is later evaluated at runtime.
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. 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.