error_page
Routes error responses to a URI or named location.
| Syntax | error_page code ... [=[response]] uri; |
|---|---|
| Contexts | httpserverlocation |
Behavior
An internal redirect can select a different location.
Example
error_page 404 =200 /fallback;