>
> Instead of using 3rd-party echo module, you can utilize the return
> directive
> for the same purpose:
>
>   return 200 '{"status": "Not Found"}';
>
> Reference: http://nginx.org/r/return
>
>   wbr, Valentin V. Bartenev
>

​I would have intuitively written code 404 rather than 200 on this one
since the aim is to send a 404 error answer.​
Am I wrong? Would that loop?
​
---
*B. R.*
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to