Commit 55bb97ed authored by omega8cc's avatar omega8cc

Do not cache http auth requests. Use compact microcaching config (Nginx).

parent 986ffb0e
......@@ -551,11 +551,9 @@ location = /index.php {
fastcgi_pass_header Set-Cookie;
fastcgi_pass_header X-Accel-Expires;
fastcgi_pass_header X-Accel-Redirect;
fastcgi_no_cache $cookie_OctopusNoCacheID;
fastcgi_no_cache $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID;
fastcgi_cache_bypass $nocache;
fastcgi_cache_use_stale error updating timeout invalid_header;
fastcgi_no_cache $cookie_OctopusNoCacheID $http_authorization $http_pragma $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID $http_authorization $http_pragma $nocache;
fastcgi_cache_use_stale error http_500 http_502 http_503 http_504 invalid_header 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
......
......@@ -537,11 +537,9 @@ location = /index.php {
fastcgi_pass_header Set-Cookie;
fastcgi_pass_header X-Accel-Expires;
fastcgi_pass_header X-Accel-Redirect;
fastcgi_no_cache $cookie_OctopusNoCacheID;
fastcgi_no_cache $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID;
fastcgi_cache_bypass $nocache;
fastcgi_cache_use_stale error updating timeout invalid_header;
fastcgi_no_cache $cookie_OctopusNoCacheID $http_authorization $http_pragma $nocache;
fastcgi_cache_bypass $cookie_OctopusNoCacheID $http_authorization $http_pragma $nocache;
fastcgi_cache_use_stale error http_500 http_502 http_503 http_504 invalid_header 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