Remove the cache for now

This commit is contained in:
niten 2024-01-18 15:32:42 -08:00
parent 63abe5bd0b
commit da6748a322
1 changed files with 6 additions and 5 deletions

View File

@ -180,11 +180,12 @@ in {
proxy_buffering on; proxy_buffering on;
proxy_redirect off; proxy_redirect off;
proxy_cache CACHE; ## TODO: consider uncommenting
proxy_cache_valid 200 7d; # proxy_cache CACHE;
proxy_cache_valid 410 24h; # proxy_cache_valid 200 7d;
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; # proxy_cache_valid 410 24h;
add_header X-Cached $upstream_cache_status; # proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
# add_header X-Cached $upstream_cache_status;
tcp_nodelay on; tcp_nodelay on;
''; '';