mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
Clarify the usage of try_files
in Caddyfile, not supporting matchers
This commit is contained in:
parent
e1057d795a
commit
a89db915d1
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ The `try_files` directive is basically a shortcut for:
|
||||||
rewrite @try_files {http.matchers.file.relative}
|
rewrite @try_files {http.matchers.file.relative}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Since this directive is a shortcut, it does not allow a matcher in its syntax. If you need a more complex matcher, then use the above expanded form as a basis.
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue