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: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
e2fa84cddc
commit
8c3eeb5667
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ Some users may immediately notice that this means it is impossible to use the `{
|
|||
|
||||
## Implementing placeholder support
|
||||
|
||||
You should not process placeholders when ummarshaling your Caddyfile. Instead, unmarshal the placeholders as strings in your configuration and evaluate them during either your module's execution or `Provision()` using a `caddy.Replacer`.
|
||||
You should not process placeholders when ummarshaling your Caddyfile. Instead, unmarshal the placeholders as strings in your configuration and evaluate them during either your module's execution (e.g. `ServeHTTP()` for HTTP handlers, `Match()` for matchers, etc.) or in the `Provision()` step, using a `caddy.Replacer`.
|
||||
|
||||
|
||||
### Examples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue