mirror of
https://github.com/caddyserver/caddy.git
synced 2025-08-11 09:16:26 -04:00
Correct usage of 'comprise'
parent
e8853fa396
commit
38d2e3dda5
@ -73,8 +73,8 @@ HTTP App
|
|||||||
Routes are not your traditional notion of routes (i.e. "GET /foo/bar" -> someFunc).
|
Routes are not your traditional notion of routes (i.e. "GET /foo/bar" -> someFunc).
|
||||||
Routes in Caddy 2 are much more powerful. They are given in an ordered list, and each
|
Routes in Caddy 2 are much more powerful. They are given in an ordered list, and each
|
||||||
route has three parts: match, apply, respond. All parts are optional. Match is the "if"
|
route has three parts: match, apply, respond. All parts are optional. Match is the "if"
|
||||||
statement of each route. Each route takes a list of matcher sets. A matcher set is
|
statement of each route. Each route takes a list of matcher sets. A matcher set
|
||||||
comprised of matchers of various types. A matcher may be comprised of multiple values.
|
comprises matchers of various types. A matcher may comprise multiple values.
|
||||||
The boolean logic of request matching goes like this:
|
The boolean logic of request matching goes like this:
|
||||||
|
|
||||||
- Matcher sets are OR'ed (first matching matcher set is sufficient)
|
- Matcher sets are OR'ed (first matching matcher set is sufficient)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user