EdgeVirtualServiceHttpRewriteLocationHeaderAction

EdgeVirtualServiceHttpRewriteLocationHeaderAction
EdgeVirtualServiceHttpRewriteLocationHeaderAction

Defines the action to rewrite location header in the HTTP response.

JSON Example
{
    "protocol": "string",
    "host": "string",
    "port": 0,
    "path": "string",
    "keepQuery": false
}
string As ^(?!\s+$).+
protocol
Required

HTTP or HTTPS protocol. Must be non-blank.

string
host
Optional

Host to which redirect the request. Default is the original host.

integer As int32 As int32
port
Optional

Port to which redirect the request. Default is 80 for HTTP and 443 for HTTPS protocol.

string
path
Optional

Path to which redirect the request. Default is the original path.

boolean
keepQuery
Optional

Keep or drop the query of the incoming request URI in the redirected URI.