Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions site/content/en/latest/tasks/traffic/http-urlrewrite.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,7 @@ The HTTPRoute status should indicate that it has been accepted and is bound to t
kubectl get httproute/http-filter-url-regex-rewrite -o yaml
```

Querying `http://${GATEWAY_HOST}/service/foo/v1/api` should rewrite the request to
`http://${GATEWAY_HOST}/service/foo/v1/api`.
Querying `http://${GATEWAY_HOST}/service/foo/v1/api` should rewrite the request to `http://${GATEWAY_HOST}/v1/api/instance/foo`.

```console
$ curl -L -vvv --header "Host: path.regex.rewrite.example" "http://${GATEWAY_HOST}/service/foo/v1/api"
Expand Down