This allows to specify redirects: { "action": { "return": 301, "location": "https://www.example.com/" } }
The "return" action can be used to immediately generate a simple HTTP response with an arbitrary status: { "action": { "return": 404 } } This is especially useful for denying access to specific resources.