From 590480513a548cf24df2fb85de4a3a073f45acac Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Thu, 9 Jan 2020 14:38:59 -0700 Subject: Update docs for couple of Caddyfile directives --- modules/caddyhttp/fileserver/caddyfile.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/caddyhttp/fileserver/caddyfile.go') diff --git a/modules/caddyhttp/fileserver/caddyfile.go b/modules/caddyhttp/fileserver/caddyfile.go index 8013fa2..aa11ba0 100644 --- a/modules/caddyhttp/fileserver/caddyfile.go +++ b/modules/caddyhttp/fileserver/caddyfile.go @@ -102,12 +102,12 @@ func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) // // and is basically shorthand for: // -// matcher:try_files { +// @try_files { // file { // try_files // } // } -// rewrite match:try_files {http.matchers.file.relative}{http.request.uri.query_string} +// rewrite @try_files {http.matchers.file.relative}{http.request.uri.query_string} // // If any of the files in the list have a query string, the query string will // be ignored when checking for file existence, but will be augmented into -- cgit v1.2.3