[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nginx
Subject:    Re: Change client_body_timeout status code
From:       Maxim Dounin <mdounin () mdounin ! ru>
Date:       2014-08-25 18:38:18
Message-ID: 20140825183818.GO1849 () mdounin ! ru
[Download RAW message or body]

Hello!

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 http://nginx.org/r/error_page.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic