docs: Update for beta 15

This commit is contained in:
Matthew Holt 2020-02-28 11:16:45 -07:00
parent 44f6195f31
commit aea9c986d1
No known key found for this signature in database
GPG key ID: 2A349DD577D586A5
8 changed files with 226 additions and 13 deletions

View file

@ -163,7 +163,7 @@ By default, a directive that injects an HTTP handler applies to all requests (un
**Request matchers** can be used to classify requests by a given criteria. This concept originates in the [underlying JSON](/docs/json/apps/http/servers/routes/match/) structure, and it's important to know how to use them in the Caddyfile. With matchers, you can specify exactly which requests a directive applies to.
To limit a directive's scope, use a **matcher token** immediately after the directive, [if the directive supports matchers](/docs/caddyfile/directives#matchers). The matcher token can be one of these forms:
To limit a directive's scope, use a **matcher token** immediately following the directive, [if the directive supports matchers](/docs/caddyfile/directives#matchers). The matcher token can be one of these forms:
1. **`*`** to match all requests (wildcard; default).
2. **`/path`** start with a forward slash to match a request path.