if proxy_read_timeout - then do something?

shrinath.m nginx-forum at nginx.us
Mon Apr 2 13:28:54 UTC 2012

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;

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,224764,224776#msg-224776

More information about the nginx mailing list