fastcgi_cache_use_stale http_500 http_502 http_503 http_504

merlin corey merlincorey at dc949.org
Fri Jan 29 19:06:51 MSK 2010


On Thu, Jan 28, 2010 at 3:26 PM, Hone Watson <hone at codingstore.com> wrote:
> I get an error with this:
>
> fastcgi_cache_use_stale error timeout invalid_header http_500 http_502
> http_503 http_504;
>
> Are http_502 http_503 http_504 not yet available for fastcgi_cache_use_stale?
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

You can use fastcgi_intercept_errors_on and then set an error_page for the 500s.

-- Merlin



More information about the nginx mailing list