Skip to Main content

tuyen swa config set-response-override

Add or update an HTTP status code response override

Usage

tuyen swa config set-response-override [OPTIONS] --code <CODE>

Options

-c, --code <CODE>

HTTP status code to override (e.g. "404")

--rewrite <REWRITE>

Internal rewrite path

--redirect <REDIRECT>

Redirect URL

--status-code <STATUS_CODE>

New HTTP status code for the override

-h, --help

Print help.