From da6748a3222493e8bf42e830eb7a9cee7a3f695e Mon Sep 17 00:00:00 2001 From: niten Date: Thu, 18 Jan 2024 15:32:42 -0800 Subject: [PATCH] Remove the cache for now --- mastodon-container.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mastodon-container.nix b/mastodon-container.nix index 05e6259..fe21612 100644 --- a/mastodon-container.nix +++ b/mastodon-container.nix @@ -180,11 +180,12 @@ in { proxy_buffering on; proxy_redirect off; - proxy_cache CACHE; - proxy_cache_valid 200 7d; - proxy_cache_valid 410 24h; - proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - add_header X-Cached $upstream_cache_status; + ## TODO: consider uncommenting + # proxy_cache CACHE; + # proxy_cache_valid 200 7d; + # proxy_cache_valid 410 24h; + # 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; '';