From a5434517761fd586d28a6fa3d110800186be8e0f Mon Sep 17 00:00:00 2001 From: Nutomic Date: Wed, 21 Jun 2023 13:52:59 +0200 Subject: [PATCH] cache `updating` --- templates/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nginx.conf b/templates/nginx.conf index 2856218..c21c35e 100644 --- a/templates/nginx.conf +++ b/templates/nginx.conf @@ -78,7 +78,7 @@ server { # Response cache for unauthenticated users proxy_cache lemmy_cache_{{domain}}; - proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 1m; proxy_no_cache $cookie_jwt; add_header x-cache-status $upstream_cache_status; @@ -101,7 +101,7 @@ server { # Response cache for unauthenticated users proxy_cache lemmy_cache_{{domain}}; - proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 1m; proxy_no_cache $arg_auth $cookie_jwt; add_header x-cache-status $upstream_cache_status;