mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-31 21:31:07 +00:00
Previously, matching by trying files other than the actual path of the
URI was:
file {
try_files <files...>
}
Now, the same can be done in one line:
file <files...>
As before, an empty file matcher:
file
still matches if the request URI exists as a file in the site root.
|
||
|---|---|---|
| .. | ||
| testdata | ||
| browse.go | ||
| browse_test.go | ||
| browselisting.go | ||
| browsetpl.go | ||
| caddyfile.go | ||
| command.go | ||
| matcher.go | ||
| matcher_test.go | ||
| staticfiles.go | ||
| staticfiles_test.go | ||