fastcgi_cache_use_stale http_500 http_502 http_503 http_504

Piotr Sikora piotr.sikora at
Fri Jan 29 10:43:53 MSK 2010

> Well if I get a 502 or 504 from php I'd like to serve stale.  How is
> that not applicable?

If your PHP script called over FastCGI responds with either 502 (Bad 
Gateway) or 504 (Gateway Timeout), then it be broken ;)

Best regards,
Piotr Sikora < piotr.sikora at >

More information about the nginx mailing list