Change client_body_timeout status code

Maxim Dounin mdounin at
Mon Aug 25 18:38:18 UTC 2014


On Wed, Aug 13, 2014 at 10:37:10AM -0400, carles.sistare wrote:

> Hi,
> I'm using client_body_timeout which returns a 408 or 503 status code, not
> sure.
> The thing is that I need this to be intercepted, somehow, and to change this
> status code to some ohter particular code.

On client_body_timeout nginx will return 408.
Much like any other error, it can be changed using the error_page 
directive, see

Maxim Dounin

More information about the nginx mailing list