From fdabe3dde2db75cf0d9991c8df8c8b914ff6f2c5 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 7 Apr 2020 23:56:35 -0600 Subject: [PATCH] docs: Fix a few mistakes in Caddyfile concepts page --- src/docs/markdown/caddyfile/concepts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/concepts.md b/src/docs/markdown/caddyfile/concepts.md index 528cb24..c29c1f4 100644 --- a/src/docs/markdown/caddyfile/concepts.md +++ b/src/docs/markdown/caddyfile/concepts.md @@ -77,7 +77,7 @@ example2.com { } ``` -If a request matches multiple site blocks, the first matching site is chosen. Requests don't cascade into to other site blocks. +If a request matches multiple site blocks, the site block with the most specific matching address is chosen. Requests don't cascade into to other site blocks. ### Directives @@ -204,7 +204,7 @@ root /index.html /var/www # matcher token: /index.html root @post /var/www # matcher token: @post ``` -Matcher tokens can be omitted entirely to match all requests; for example, `*` or `/` do not need to be given. +Matcher tokens can be omitted entirely to match all requests; for example, `*` does not need to be given if the next argument does not look like a path matcher. **[Read the page about request matchers](/docs/caddyfile/matchers) to learn more.**