xin

error_page

Routes error responses to a URI or named location.

Syntaxerror_page code ... [=[response]] uri;
Contextshttpserverlocation

Behavior

An internal redirect can select a different location.

Example

error_page 404 =200 /fallback;