Matcher associativity rule.

This commit is contained in:
Ludovic Fernandez 2018-11-30 09:08:03 +01:00 committed by Traefiker Bot
parent 761c58e040
commit 1f7a4174ba

View file

@ -94,10 +94,12 @@ Following is the list of existing modifier rules:
Matcher rules determine if a particular request should be forwarded to a backend. Matcher rules determine if a particular request should be forwarded to a backend.
Separate multiple rule values by `,` (comma) in order to enable ANY semantics (i.e., forward a request if any rule matches). The associativity rule is the following:
Does not work for `Headers` and `HeadersRegexp`. - `,` is the `OR` operator (works **only inside a matcher**, ex: `Host:foo.com,bar.com`).
- i.e., forward a request if any rule matches.
Separate multiple rule values by `;` (semicolon) in order to enable ALL semantics (i.e., forward a request if all rules match). - Does not work for `Headers` and `HeadersRegexp`.
- `;` is the `AND` operator (works **only between matchers**, ex: `Host:foo.com;Path:/bar`)
- i.e., forward a request if all rules match
Following is the list of existing matcher rules along with examples: Following is the list of existing matcher rules along with examples: