From 63dfe5529ade4e4c6f54306c9403925108eb458e Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 30 Oct 2024 14:07:56 -0600 Subject: [PATCH] matchers: Clarify header matcher syntax --- src/docs/markdown/caddyfile/matchers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/docs/markdown/caddyfile/matchers.md b/src/docs/markdown/caddyfile/matchers.md index 2378552..2e5819a 100644 --- a/src/docs/markdown/caddyfile/matchers.md +++ b/src/docs/markdown/caddyfile/matchers.md @@ -397,7 +397,7 @@ Some more examples using [CEL expressions](#expression). Keep in mind that place ### header ```caddy-d -header [] +header [ ...] expression header({'': ''}) ``` @@ -406,7 +406,7 @@ By request header fields. - `` is the name of the HTTP header field to check. - If prefixed with `!`, the field must not exist to match (omit value arg). -- `` is the value the field must have to match. +- `` is the value the field must have to match. One or more may be specified. - If prefixed with `*`, it performs a fast suffix match (appears at the end). - If suffixed with `*`, it performs a fast prefix match (appears at the start). - If enclosed by `*`, it performs a fast substring match (appears anywhere).