April 02, 2012 09:28AM
I tried to catch 504, not working. Anything wrong in the following?


error_page 504 =200 @checkstatus;

location @checkstatus
{
rewrite ^(.*)$ /k/binarystatus/check?original_uri=$1 break;
proxy_pass https://shrinath.blah.com;
proxy_hide_header Last-Modified;
proxy_read_timeout 10s;
proxy_intercept_errors on;
}
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: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready