EdgeVirtualServiceHttpRewriteUrlAction
EdgeVirtualServiceHttpRewriteUrlAction
Defines the action to rewrite the HTTP request URL.
JSON Example
{
"host": "string",
"path": "string",
"query": "string",
"keepQuery": false
}
string As ^(?!\s+$).+
host
Optional
Host to use for the rewritten URL. If omitted, the existing host will be used.
string As ^(?!\s+$).+
path
Optional
Path to use for the rewritten URL. If omitted, the existing path will be used.
string As ^(?!\s+$).+
query
Optional
Query string to use or append to the existing query string in the rewritten URL.
boolean
keepQuery
Optional
Whether or not to keep the existing query string when rewriting the URL. Defaults to true.