Clarify the usage of try_files in Caddyfile, not supporting matchers

This commit is contained in:
Francis Lavoie 2020-04-04 15:39:32 -04:00
parent e1057d795a
commit a89db915d1
No known key found for this signature in database
GPG key ID: 7D1A27F0725BE5D8

View file

@ -29,6 +29,8 @@ The `try_files` directive is basically a shortcut for:
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