respond¶
Use the respond directive to return an HTTP response without contacting an upstream.
Status only¶
Return a status code without a response body:
Body only¶
Return a response body:
Status and body¶
Specify both a status code and a response body: