Commit 2f555585 authored by omega8cc's avatar omega8cc

Issue #1528996 and #1527852 by PlayfulWolf - Nginx microcaching shouldn't...

Issue #1528996 and #1527852 by PlayfulWolf - Nginx microcaching shouldn't cache any upstream errors.
parent f40bcbb2
......@@ -554,7 +554,7 @@ location = /index.php {
fastcgi_no_cache $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID;
fastcgi_cache_bypass $nocache;
fastcgi_cache_use_stale error timeout invalid_header http_500 http_503 updating;
fastcgi_cache_use_stale error timeout updating;
try_files $uri =404; ### check for existence of php file first
fastcgi_pass 127.0.0.1:9000;
track_uploads uploads 60s; ### required for upload progress
......
......@@ -540,7 +540,7 @@ location = /index.php {
fastcgi_no_cache $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID;
fastcgi_cache_bypass $nocache;
fastcgi_cache_use_stale error timeout invalid_header http_500 http_503 updating;
fastcgi_cache_use_stale error timeout updating;
try_files $uri =404; ### check for existence of php file first
fastcgi_pass 127.0.0.1:9000;
expires epoch;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment