redirect

oneshot redirect url

Redirect all requests to the specified URL. For this command, a single URL is required as an argument. This URL will be used as the target of all redirected HTTP requests.

Options

Flag Configuration File Description
--status-code .statusCode HTTP status code to send with the redirect response.
-H, --header .header Header to send with the redirect response. Can be specified multiple times. (Format: HEADER_NAME=HEADER_VALUE)