Skip to content

Status and Redirect

This page is automatically synced from docs-en/rules/status-redirect.md. Language: English | 中文

Status and redirect rules control synthetic HTTP status codes and redirects.

example.com/maintenance statusCode://503
example.com/old redirect://https://example.com/new
example.com replaceStatus://200

statusCode does not contact upstream. replaceStatus contacts upstream and then changes the status code. Redirect rules send clients to another URL.