kayx23 commented on issue #2261:
URL:
https://github.com/apache/apisix-ingress-controller/issues/2261#issuecomment-2306494520
This seems to translate to an `AND`:
```yaml
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: httpbin-route
spec:
http:
- name: httpbin-route
match:
paths:
- /anything
methods:
- GET
exprs:
- subject:
scope: Header
name: X-Foo
op: Equal
value: bar
- subject:
scope: Header
name: X-Foo-1
op: Equal
value: bar1
backends:
- serviceName: httpbin
servicePort: 80
```
<img width="973" alt="image"
src="https://github.com/user-attachments/assets/771b7201-124a-44bb-9eb3-a1426831bb13">
```text
"vars": [
["http_x_foo","==","bar"],
["http_x_foo_1","==","bar1"]
]
```
But not sure how to make it an `OR`; or create a more complex composite
logic. I checked the test cases and don't see anything relevant.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]