v0.42.0
This commit is contained in:
1 parent
6df256cdbb
commit
0d6249e383
159 files changed
+16737
-1971
No files matched your search
@@ -18,6 +18,13 @@ Encoded `/` separators (`%2F` / `%2f`) are normalized to real `/` only for locat
|
||||
|
||||
## Request conditions (routing by header, cookie, IP…)
|
||||
|
||||
Since 0.42.0, a location can also carry a `policy` object for
|
||||
[HTTP policy actions](POLICY.md) after it has been selected. These policies do
|
||||
not replace the path/condition selector below. Location `pre_route` rules are
|
||||
rejected; use a global or Vhost `pre_route` policy when the request must change
|
||||
before selection. Location policies run after global and Vhost policy at the
|
||||
same stage, without changing existing VCL precedence.
|
||||
|
||||
A location can require extra **conditions** besides its path — the RustProxy equivalent of HAProxy ACLs in `use_backend <backend> if <acl> <acl>`. Each condition tests one request attribute:
|
||||
|
||||
| `source` | `name` | Operators | Notes |
|
||||
|
||||
Reference in new issue
Block a user