mirror of
https://github.com/caddyserver/website.git
synced 2025-04-21 20:46:15 -04:00
docs: Clarify that try_files
does not accept matcher (#17)
* Clarify the usage of `try_files` in Caddyfile, not supporting matchers * Update src/docs/markdown/caddyfile/directives/try_files.md Co-Authored-By: Matt Holt <mholt@users.noreply.github.com> Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
2973be1e45
commit
eae81aed75
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}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Note that this directive does not accept a matcher token. If you need more complex matching logic, then use the expanded form above as a basis.
|
||||||
|
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue