Welcome! Log In Create A New Profile

Advanced

Re: if proxy_read_timeout - then do something?

Maxim Dounin
April 02, 2012 06:58AM
Hello!

On Mon, Apr 02, 2012 at 05:23:30AM -0400, shrinath.m wrote:

> Hi,
>
> I would like to put a proxy_read_timeout and if it times out, I want to
> do a specific action in php and return some response to the user. Is
> this possible? How?

http://nginx.org/r/error_page

You have to handle 504 (Gateway Timeout) errors.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

if proxy_read_timeout - then do something?

shrinath.m April 02, 2012 05:23AM

Re: if proxy_read_timeout - then do something?

Maxim Dounin April 02, 2012 06:58AM

Re: if proxy_read_timeout - then do something?

shrinath.m April 02, 2012 09:28AM

Re: if proxy_read_timeout - then do something?

shrinath.m April 02, 2012 09:37AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 163
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready