istio v1.31.0
VirtualService.spec.http[].route[].destination.port.spec.http.redirect
A HTTP rule can either return a direct_response, redirect or forward (default) traffic.
| Field / Type | Description |
|---|---|
authority | On a redirect, overwrite the Authority/Host portion of the URL with this value. |
derivePort | On a redirect, dynamically set the port: * FROM_PROTOCOL_DEFAULT: automatically set to 80 for HTTP and 443 for HTTPS. Valid Options: FROM_PROTOCOL_DEFAULT, FROM_REQUEST_PORT
|
port | On a redirect, overwrite the port portion of the URL with this value.
|
prefixRewrite | On a redirect, replace the matched prefix with this value. |
redirectCode | On a redirect, Specifies the HTTP status code to use in the redirect response.
|
scheme | On a redirect, overwrite the scheme portion of the URL with this value. |
uri | On a redirect, overwrite the Path portion of the URL with this value. |