Update fastcgi_cache_use_stale directive

This commit is contained in:
Ashley Rich 2018-04-11 09:00:27 +01:00 committed by GitHub
parent a6498a6bc2
commit 3f52323dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ fastcgi_cache_key "$scheme$request_method$host$request_uri";
# If an error occurs when communicating with FastCGI server, return cached content.
# Useful for serving cached content if the PHP process dies or timeouts.
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_cache_use_stale error timeout updating invalid_header http_500;
# Allow caching of requests which contain the following headers.
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;