Skip to content

Commit

Permalink
docs: add stream[].match.host to ApisixRoute v2 spec (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
kayx23 authored Jul 5, 2024
1 parent 7380d9a commit bbcd8d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/latest/references/apisix_route_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The table below describes each of the attributes in the spec. The fields `apiVer
| stream[].name | string (required) | Name of the rule. |
| stream[].match | object (required) | Conditions to match the request with the Route. |
| stream[].match.ingressPort | integer (required) | Listening port in the Ingress proxy server. This port should be defined in the [APISIX configuration](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L101). |
| stream[].match.host | string | SNI. |
| stream[].backend | object | Backend service (deprecated). Use `http[].backends` instead. |
| stream[].backend.serviceName | string | Name of the backend service (depricated). The service and the `ApisixRoute` resource should be created in the same namespace. |
| stream[].backend.servicePort | integer or string | Port number or the name defined in the service object of the backend (deprecated). |
Expand Down

0 comments on commit bbcd8d9

Please sign in to comment.