Return JSON for 404 error instead of html

Francis Daly francis at daoine.org
Tue May 13 20:13:53 UTC 2014


On Tue, May 13, 2014 at 09:15:16PM +0200, B.R. wrote:
> I understand the logic, but when using that handler through error_page 404
> @404, won't the handler's 200 status overload the original 404 one?

http://nginx.org/r/error_page indicates that it won't unless "=" is used.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list