mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 14:06:17 -04:00
docs: Update root, reverse_proxy, and shorthand placeholders
This commit is contained in:
parent
3c6202c15d
commit
2abf8549a7
3 changed files with 26 additions and 12 deletions
|
@ -6,7 +6,7 @@ title: root (Caddyfile directive)
|
|||
|
||||
Sets the root path of the site, used by various matchers and directives that access the file system. If unset, the default site root is the current working directory.
|
||||
|
||||
Specifically, this directive sets the `{http.vars.root}` placeholder.
|
||||
Specifically, this directive sets the `{http.vars.root}` placeholder. It is mutually exclusive to other `root` directives in the same block, so it is safe to define multiple roots with matchers that intersect: they will not cascade and overwrite each other.
|
||||
|
||||
|
||||
## Syntax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue