Is there anyway to customize the error msg for a error code?

speedfirst nginx-forum at
Wed Jun 22 17:23:33 MSD 2011

Thanks for the reply.

What I mean is to change the short error msg after the error code in the
HTTP response status line, not the response HTML page. My motivation is
to keep nginx consistent with the upstream server. Although the error
code consistence is enough in the functionality, it would be better if
the short error msg can be changed by configuring or simply programming.

Posted at Nginx Forum:,208911,209036#msg-209036

More information about the nginx mailing list