Welcome! Log In Create A New Profile

Advanced

Re: Change client_body_timeout status code

Maxim Dounin
August 25, 2014 02:40PM
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
Subject Author Posted

Change client_body_timeout status code

carles.sistare August 13, 2014 10:37AM

Re: Change client_body_timeout status code

Maxim Dounin August 25, 2014 02:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready