RedirectActionConfig
In this article:
RedirectActionConfig#
The detailed description of the action that redirects requests to another URL.
Contents#
Host — The name of the host.
Type: String
Required: No
Constraints: The value must be
#{host}
, or meet the following requirements:Length must be 3 to 255 characters
Only ASCII letters (a-z, A-Z), numbers, periods, dashes, underscores and asterisks are allowed
Cannot be a zero- or first-level domain
Path — The case-sensitive absolute path.
Type: String
Required: No
Constraints: 1 to 128 ASCII characters, or
#{path}
. The path should start with/
Port — The port.
Type: String
Required: No
Constraints: 1 to 65535, or
#{port}
Protocol — The protocol. It is not possible to redirect HTTPS traffic to HTTP.
Type: String
Required: No
Valid values:
HTTP
|HTTPS
|#{protocol}
Query — The query parameters. The
?
character is automatically added to the beginning of the line.Type: String
Required: No
Constraints: 1 to 128 ASCII characters, or
#{query}
StatusCode — The HTTP redirection code.
Type: String
Required: Yes
Valid values:
HTTP_301
|HTTP_302