istio v1.31.0

VirtualService.spec.http[].match[].queryParams.[key].spec.http.redirect

A HTTP rule can either return a direct_response, redirect or forward (default) traffic.

7 fields
VirtualService.spec.http[].match[].queryParams.[key].spec.http.redirect fields and descriptions
Field / TypeDescription
authority
string

On a redirect, overwrite the Authority/Host portion of the URL with this value.

derivePort
string

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

  • enum: ["FROM_PROTOCOL_DEFAULT","FROM_REQUEST_PORT"]
port
integer

On a redirect, overwrite the port portion of the URL with this value.

  • minimum: 0
  • maximum: 4294967295
prefixRewrite
string

On a redirect, replace the matched prefix with this value.

redirectCode
integer

On a redirect, Specifies the HTTP status code to use in the redirect response.

  • minimum: 0
  • maximum: 4294967295
scheme
string

On a redirect, overwrite the scheme portion of the URL with this value.

uri
string

On a redirect, overwrite the Path portion of the URL with this value.