summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/encode/caddyfile.go
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2020-05-05 12:34:58 -0600
committerGitHub <noreply@github.com>2020-05-05 12:34:58 -0600
commit1e8c9764df94c7b6549dc9f5be618cddc4573d1b (patch)
treee536c3e2f4330d6d7a665b809b983bcb50f0ad7c /modules/caddyhttp/encode/caddyfile.go
parent41c7bd27b495ab9b5edca7afb0cf99d5e1b52944 (diff)
file_server: Accept files args in one-liner of Caddyfile matcher (#3298)
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.
Diffstat (limited to 'modules/caddyhttp/encode/caddyfile.go')
0 files changed, 0 insertions, 0 deletions