mirror of
https://github.com/caddyserver/website.git
synced 2025-06-22 06:00:34 -04:00
docs: Add single-line not
matcher syntax
This commit is contained in:
parent
0480b129f0
commit
191986338f
1 changed files with 7 additions and 2 deletions
|
@ -223,14 +223,19 @@ By the method (verb) of the HTTP request. Verbs should be uppercase, like `POST`
|
||||||
|
|
||||||
### not
|
### not
|
||||||
|
|
||||||
|
```
|
||||||
|
not <any other matcher>
|
||||||
|
```
|
||||||
|
|
||||||
|
Or
|
||||||
|
|
||||||
```
|
```
|
||||||
not {
|
not {
|
||||||
<any other matchers...>
|
<any other matchers...>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Encloses other matchers and negates their result.
|
Encloses one or more other matchers and negates their result.
|
||||||
|
|
||||||
|
|
||||||
### path
|
### path
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue