Optional
follow_Determines whether requests may be redirected to the hostname defined in the Location
header returned by an origin server.
Optional
url_Redirects requests according to the Location
header.
Optional
code?: HttpStatusCodeOptional
destination?: stringA replacement pattern for the URL to which the requests identified in the source
property will be redirected.
Optional
source?: stringA regular expression that identifies the requests that will be redirected by their relative path. This relative path starts directly after the hostname.
Optional
syntax?: "regexp" | "path-to-regexp"Determines whether the source
property is a relative path that supports named parameters (e.g., :productId) or a regular expression.
Optional
url_Rewrites the request URL.
Generated using TypeDoc
Redirect or rewrite requests to a different URL.