Return JSON for 404 error instead of html

Valentin V. Bartenev vbart at nginx.com
Tue May 13 15:53:29 UTC 2014


On Tuesday 13 May 2014 08:48:50 Justin Dorfman wrote:
> Out of curiosity, would the mime/content type show up as application/json
> or text/plain?
> 

It depends on the default_type directive:
http://nginx.org/r/default_type

  wbr, Valentin V. Bartenev



More information about the nginx mailing list